appveyor.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. before_test:
  25. - cmd: set NODE_ENV=production
  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 && npm run bench-win
  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