.appveyor.yml 933 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. install:
  20. # Use version based on tag
  21. - ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
  22. - ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
  23. # install node
  24. # Get the latest stable version of Node.js or io.js
  25. - ps: Install-Product node $env:nodejs_version
  26. # install grunt-cli globally
  27. - npm install -g grunt-cli
  28. # install modules
  29. - npm install
  30. test_script:
  31. # Output useful info for debugging
  32. - node --version && npm --version
  33. - ps: grunt test
  34. # Don't actually build.
  35. build: off