You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. version: 1.0.{build}
  2. skip_branch_with_pr: true
  3. build: off
  4. environment:
  5. matrix:
  6. - nodejs_version: "12"
  7. - nodejs_version: "11"
  8. - nodejs_version: "10"
  9. - nodejs_version: "9"
  10. - nodejs_version: "8"
  11. - nodejs_version: "7"
  12. - nodejs_version: "6"
  13. - nodejs_version: "5"
  14. - nodejs_version: "4"
  15. - nodejs_version: "3"
  16. - nodejs_version: "2"
  17. - nodejs_version: "1"
  18. - nodejs_version: "0.12"
  19. - nodejs_version: "0.10"
  20. - nodejs_version: "0.8"
  21. - nodejs_version: "0.6"
  22. matrix:
  23. # fast_finish: true
  24. allow_failures:
  25. - nodejs_version: "5" # due to windows npm bug, registry-side
  26. - nodejs_version: "0.8"
  27. - nodejs_version: "0.6"
  28. platform:
  29. - x86
  30. - x64
  31. # Install scripts. (runs after repo cloning)
  32. install:
  33. # Fix symlinks in working copy (see https://github.com/appveyor/ci/issues/650#issuecomment-186592582) / https://github.com/charleskorn/batect/commit/d08986802ec43086902958c4ee7e57ff3e71dbef
  34. - git config core.symlinks true
  35. - git reset --hard
  36. # Get the latest stable version of Node.js or io.js
  37. - ps: Install-Product node $env:nodejs_version $env:platform
  38. - IF %nodejs_version% EQU 0.6 npm config set strict-ssl false && npm -g install npm@1.3
  39. - IF %nodejs_version% EQU 0.8 npm config set strict-ssl false && npm -g install npm@1.4.28 && npm install -g npm@4.5
  40. - set PATH=%APPDATA%\npm;%PATH%
  41. #- IF %nodejs_version% NEQ 0.6 AND %nodejs_version% NEQ 0.8 npm -g install npm
  42. # install modules
  43. - npm install
  44. # Post-install test scripts.
  45. test_script:
  46. # Output useful info for debugging.
  47. - node --version
  48. - npm --version
  49. # run tests
  50. - npm run tests-only