.appveyor.yml 956 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # branches to build
  2. #branches:
  3. # whitelist
  4. #only:
  5. # - master
  6. # What combinations to test
  7. environment:
  8. matrix:
  9. - nodejs_version: "6"
  10. platform: x64
  11. - nodejs_version: "6"
  12. platform: x86
  13. - nodejs_version: "8"
  14. platform: x86
  15. - nodejs_version: "8"
  16. platform: x64
  17. - nodejs_version: "10"
  18. platform: x64
  19. cache:
  20. - node_modules
  21. install:
  22. # Use version based on tag
  23. - ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
  24. - ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
  25. # install node
  26. # Get the latest stable version of Node.js or io.js
  27. - ps: Install-Product node $env:nodejs_version
  28. # install grunt-cli globally
  29. - npm install -g grunt-cli
  30. # install modules
  31. - npm install
  32. test_script:
  33. # Output useful info for debugging
  34. - node --version && npm --version
  35. - ps: grunt test
  36. # Don't actually build.
  37. build: off