appveyor.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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: "4"
  15. - nodejs_version: "6"
  16. - nodejs_version: "8"
  17. # Install scripts. (runs after repo cloning)
  18. install:
  19. # Get the latest stable version of Node.js
  20. # (Not sure what this is for, it's just in Appveyor's example.)
  21. - ps: Install-Product node $env:nodejs_version
  22. # Install declared dependencies
  23. - npm install
  24. # Post-install test scripts.
  25. test_script:
  26. # Output Node and NPM version info.
  27. # (Presumably just in case Appveyor decides to try any funny business?
  28. # But seriously, always good to audit this kind of stuff for debugging.)
  29. - node --version
  30. - npm --version
  31. # Run the actual tests.
  32. - npm test
  33. # Don't actually build.
  34. # (Not sure what this is for, it's just in Appveyor's example.
  35. # I'm not sure what we're not building... but I'm OK with not
  36. # building it. I guess.)
  37. build: off