appveyor.yml 991 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. environment:
  2. # https://github.com/jasongin/nvs/blob/master/doc/CI.md
  3. NVS_VERSION: 1.4.2
  4. fast_finish: true
  5. matrix:
  6. - NODEJS_VERSION: node/4
  7. - NODEJS_VERSION: node/6
  8. - NODEJS_VERSION: node/8
  9. - NODEJS_VERSION: node/9
  10. - NODEJS_VERSION: node/10
  11. - NODEJS_VERSION: chakracore/8
  12. - NODEJS_VERSION: chakracore/10
  13. - NODEJS_VERSION: nightly
  14. - NODEJS_VERSION: chakracore-nightly
  15. matrix:
  16. fast_finish: true
  17. allow_failures:
  18. - NODEJS_VERSION: nightly
  19. - NODEJS_VERSION: chakracore-nightly
  20. platform:
  21. - x86
  22. - x64
  23. install:
  24. # nvs
  25. - git clone --branch v%NVS_VERSION% --depth 1 https://github.com/jasongin/nvs %LOCALAPPDATA%\nvs
  26. - set PATH=%LOCALAPPDATA%\nvs;%PATH%
  27. - nvs --version
  28. # node.js
  29. - nvs add %NODEJS_VERSION%/%PLATFORM%
  30. - nvs use %NODEJS_VERSION%/%PLATFORM%
  31. - node --version
  32. - node -p process.arch
  33. - npm --version
  34. # app
  35. - npm install
  36. test_script:
  37. - npm test
  38. build: off
  39. version: "{build}"
  40. cache:
  41. - node_modules