appveyor.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. version: 1.0.{build}
  2. skip_branch_with_pr: true
  3. build: off
  4. environment:
  5. matrix:
  6. - nodejs_version: "7"
  7. - nodejs_version: "6"
  8. - nodejs_version: "5"
  9. - nodejs_version: "4"
  10. - nodejs_version: "3"
  11. - nodejs_version: "2"
  12. - nodejs_version: "1"
  13. - nodejs_version: "0.12"
  14. - nodejs_version: "0.10"
  15. - nodejs_version: "0.8"
  16. - nodejs_version: "0.6"
  17. matrix:
  18. # fast_finish: true
  19. allow_failures:
  20. - nodejs_version: "0.6"
  21. platform:
  22. - x86
  23. - x64
  24. # Install scripts. (runs after repo cloning)
  25. install:
  26. # Get the latest stable version of Node.js or io.js
  27. - ps: Install-Product node $env:nodejs_version $env:platform
  28. - IF %nodejs_version% EQU 0.6 npm -g install npm@1.3
  29. - IF %nodejs_version% EQU 0.8 npm -g install npm@2
  30. - set PATH=%APPDATA%\npm;%PATH%
  31. #- IF %nodejs_version% NEQ 0.6 AND %nodejs_version% NEQ 0.8 npm -g install npm
  32. # install modules
  33. - npm install
  34. # Post-install test scripts.
  35. test_script:
  36. # Output useful info for debugging.
  37. - node --version
  38. - npm --version
  39. # run tests
  40. - npm run tests-only