appveyor.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # http://www.appveyor.com/docs/appveyor-yml
  2. # Fix line endings in Windows. (runs before repo cloning)
  3. init:
  4. - git config --global core.autocrlf input
  5. # Test against these versions of Node.js.
  6. environment:
  7. matrix:
  8. - nodejs_version: "0.10"
  9. - nodejs_version: "0.8"
  10. - nodejs_version: "0.11"
  11. # Allow failing jobs for bleeding-edge Node.js versions.
  12. matrix:
  13. allow_failures:
  14. - nodejs_version: "0.11"
  15. # Install scripts. (runs after repo cloning)
  16. install:
  17. # Get the latest stable version of Node 0.STABLE.latest
  18. - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
  19. # Typical npm stuff.
  20. - npm install
  21. # Grunt-specific stuff.
  22. - npm install -g grunt-cli
  23. - npm uninstall grunt # https://github.com/npm/npm/issues/3958
  24. # Post-install test scripts.
  25. test_script:
  26. # Output useful info for debugging.
  27. - node --version
  28. - npm --version
  29. # We test multiple Windows shells because of prior stdout buffering issues
  30. # filed against Grunt. https://github.com/joyent/node/issues/3584
  31. - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
  32. - cmd: npm test
  33. # Don't actually build.
  34. build: off
  35. # Set build version format here instead of in the admin panel.
  36. version: "{build}"