.travis.yml 535 B

12345678910111213141516171819202122232425262728293031323334
  1. sudo: false
  2. language: node_js
  3. notifications:
  4. email:
  5. on_success: never
  6. on_failure: change
  7. before_install:
  8. - "export DISPLAY=:99.0"
  9. - "sh -e /etc/init.d/xvfb start"
  10. - npm install $MOCHA --force
  11. env:
  12. - MOCHA=mocha@1
  13. - MOCHA=mocha@2
  14. - MOCHA=mocha@3
  15. - MOCHA=mocha@4
  16. - MOCHA=mocha@5
  17. node_js:
  18. - "0.10"
  19. - "4"
  20. - "stable"
  21. matrix:
  22. exclude:
  23. - env: MOCHA=mocha@4
  24. node_js: "0.10"
  25. - env: MOCHA=mocha@5
  26. node_js: "0.10"
  27. after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"