appveyor.yml 769 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # http://www.appveyor.com/docs/appveyor-yml
  2. # Don't actually build
  3. build: off
  4. # Skip tag builds
  5. skip_tags: true
  6. # Set build version format
  7. version: "{build}"
  8. # Set up build environment
  9. environment:
  10. # Test against these versions of Node.js
  11. matrix:
  12. - nodejs_version: "10"
  13. - nodejs_version: "8"
  14. - nodejs_version: "6"
  15. # Build on both platforms
  16. platform:
  17. - x86
  18. - x64
  19. # Install scripts (runs after repo cloning)
  20. install:
  21. # Get the latest version of $env:nodejs_version
  22. - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
  23. # Output useful info for debugging
  24. - node --version
  25. - npm --version
  26. # Install modules
  27. - npm install
  28. # Post-install test scripts
  29. test_script:
  30. # Run module tests
  31. - npm test