appveyor.yml 950 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # http://www.appveyor.com/docs/appveyor-yml
  2. # Test against these versions of Node.js.
  3. environment:
  4. # Visual Studio Version
  5. MSVS_VERSION: 2013
  6. # Test against these versions of Node.js and io.js
  7. matrix:
  8. # node.js
  9. - nodejs_version: "0.10"
  10. - nodejs_version: "0.12"
  11. # io.js
  12. - nodejs_version: "4"
  13. - nodejs_version: "5"
  14. - nodejs_version: "6"
  15. - nodejs_version: "7"
  16. platform:
  17. - x86
  18. - x64
  19. # Install scripts. (runs after repo cloning)
  20. install:
  21. - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
  22. - npm install -g npm@3
  23. - set PATH=%APPDATA%\npm;%PATH%
  24. # Typical npm stuff.
  25. - npm install --msvs_version=%MSVS_VERSION%
  26. # Post-install test scripts.
  27. test_script:
  28. # Output useful info for debugging.
  29. - node --version
  30. - npm --version
  31. # run tests
  32. - npm test
  33. # Don't actually build.
  34. build: off
  35. # Set build version format here instead of in the admin panel.
  36. version: "{build}"