appveyor.yml 1.6 KB

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