appveyor.yml 728 B

123456789101112131415161718192021222324252627
  1. # Fix line endings on Windows
  2. init:
  3. - git config --global core.autocrlf true
  4. # What combinations to test
  5. environment:
  6. matrix:
  7. - nodejs_version: "6"
  8. - nodejs_version: "8"
  9. platform:
  10. - x86
  11. - x64
  12. install:
  13. - ps: Install-Product node $env:nodejs_version
  14. - npm install -g npm
  15. - npm install
  16. test_script:
  17. # Output useful info for debugging.
  18. - node --version && npm --version
  19. # We test multiple Windows shells because of prior stdout buffering issues
  20. # filed against Grunt. https://github.com/joyent/node/issues/3584
  21. - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
  22. - cmd: npm test
  23. build: off
  24. matrix:
  25. fast_finish: true
  26. cache:
  27. - node_modules -> package.json # local npm modules