appveyor.yml 874 B

123456789101112131415161718192021222324252627282930313233
  1. # Test against these versions of Node.js.
  2. environment:
  3. matrix:
  4. - nodejs_version: "4"
  5. - nodejs_version: "6"
  6. - nodejs_version: "8"
  7. - nodejs_version: "9"
  8. # Install scripts. (runs after repo cloning)
  9. install:
  10. # node 0.10 & 0.12 have race condition issues when running custom install scripts
  11. # this can cause phantomjs-prebuilt install script to fail with the error:
  12. # <Cannot find module 'boom'>
  13. # Seems related to: https://github.com/npm/npm/issues/8152
  14. # using <appveyor_retry> solves this.
  15. - appveyor-retry call npm install
  16. # Grunt-specific stuff.
  17. - npm install -g grunt-cli
  18. # Post-install test scripts.
  19. test_script:
  20. # Output useful info for debugging.
  21. - node --version && npm --version
  22. # Run test
  23. - grunt test
  24. # Don't actually build.
  25. build: off
  26. # Set build version format here instead of in the admin panel.
  27. version: "{build}"