appveyor.yml 657 B

12345678910111213141516171819202122232425262728293031323334
  1. # AppVeyor file
  2. # http://www.appveyor.com/docs/appveyor-yml
  3. # Build version format
  4. version: "{build}"
  5. # Test against this version of Node.js
  6. environment:
  7. NODE_ENV: test
  8. matrix:
  9. - nodejs_version: "9.3.0"
  10. build: off
  11. branches:
  12. only:
  13. - master
  14. install:
  15. - ps: Install-Product node $env:nodejs_version
  16. - npm install -g npm
  17. - npm config set progress=false
  18. - npm install
  19. # Fix line endings on Windows
  20. init:
  21. - git config --global core.autocrlf true
  22. test_script:
  23. # Output useful info for debugging.
  24. - node --version && npm --version
  25. - ps: "npm --version # PowerShell" # Pass comment to PS for easier debugging
  26. - cmd: npm run test