appveyor.yml 780 B

123456789101112131415161718192021222324252627282930313233
  1. # Test against these versions of Node.js.
  2. environment:
  3. matrix:
  4. - nodejs_version: "0.10"
  5. - nodejs_version: "0.12"
  6. - nodejs_version: "4"
  7. - nodejs_version: "6"
  8. # Install scripts. (runs after repo cloning)
  9. install:
  10. # Get the latest stable version of Node 0.STABLE.latest
  11. - ps: Install-Product node $env:nodejs_version
  12. # Use npm v2
  13. - npm -g install npm@2
  14. - set PATH=%APPDATA%\npm;%PATH%
  15. - npm -v
  16. # Typical npm stuff.
  17. - npm install
  18. # Grunt-specific stuff.
  19. - npm install -g grunt-cli
  20. # Post-install test scripts.
  21. test_script:
  22. # Output useful info for debugging.
  23. - node --version && npm --version
  24. # Run test
  25. - grunt test
  26. # Don't actually build.
  27. build: off
  28. # Set build version format here instead of in the admin panel.
  29. version: "{build}"