appveyor.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # # # # # # # # # # # # # # # # # # # # # # # # # #
  2. # ╔═╗╔═╗╔═╗╦ ╦╔═╗╦ ╦╔═╗╦═╗ ┬ ┬┌┬┐┬ #
  3. # ╠═╣╠═╝╠═╝╚╗╔╝║╣ ╚╦╝║ ║╠╦╝ └┬┘││││ #
  4. # ╩ ╩╩ ╩ ╚╝ ╚═╝ ╩ ╚═╝╩╚═o ┴ ┴ ┴┴─┘ #
  5. # #
  6. # This file configures Appveyor CI. #
  7. # (i.e. how we run the tests on Windows) #
  8. # #
  9. # https://www.appveyor.com/docs/lang/nodejs-iojs/ #
  10. # # # # # # # # # # # # # # # # # # # # # # # # # #
  11. # Test against these versions of Node.js.
  12. environment:
  13. matrix:
  14. - nodejs_version: "0.10"
  15. - nodejs_version: "0.12"
  16. - nodejs_version: "4"
  17. - nodejs_version: "6"
  18. - nodejs_version: "8"
  19. # Install scripts. (runs after repo cloning)
  20. install:
  21. # Get the latest stable version of Node.js
  22. # (Not sure what this is for, it's just in Appveyor's example.)
  23. - ps: Install-Product node $env:nodejs_version
  24. # Install declared dependencies
  25. - npm install
  26. # Post-install test scripts.
  27. test_script:
  28. # Output Node and NPM version info.
  29. # (Presumably just in case Appveyor decides to try any funny business?
  30. # But seriously, always good to audit this kind of stuff for debugging.)
  31. - node --version
  32. - npm --version
  33. # Run the actual tests.
  34. - npm run custom-tests
  35. # Don't actually build.
  36. # (Not sure what this is for, it's just in Appveyor's example.
  37. # I'm not sure what we're not building... but I'm OK with not
  38. # building it. I guess.)
  39. build: off