appveyor.yml 839 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Test against these versions of Node.js
  2. environment:
  3. matrix:
  4. - nodejs_version: "4"
  5. - nodejs_version: "5"
  6. platform:
  7. - x64
  8. # Install scripts (runs after repo cloning)
  9. install:
  10. # Get the latest stable version of Node.js
  11. - ps: Install-Product node $env:nodejs_version $env:platform
  12. # Clone submodules (mustache spec)
  13. - cmd: git submodule update --init --recursive
  14. # Install modules
  15. - cmd: npm install
  16. - cmd: npm install -g grunt-cli
  17. # Post-install test scripts
  18. test_script:
  19. # Output useful info for debugging
  20. - cmd: node --version
  21. - cmd: npm --version
  22. # Run tests
  23. - cmd: grunt --stack travis
  24. # Don't actually build
  25. build: off
  26. on_failure:
  27. - cmd: 7z a coverage.zip coverage
  28. - cmd: appveyor PushArtifact coverage.zip
  29. # Set build version format here instead of in the admin panel
  30. version: "{build}"