.travis.yml 349 B

123456789101112131415161718192021222324
  1. language: node_js
  2. node_js:
  3. - 'node'
  4. - 'lts/*'
  5. script:
  6. - npm test -- --maxWorkers=4
  7. - npm run build
  8. before_install:
  9. - export CHROME_BIN=chromium-browser
  10. - export DISPLAY=:99.0
  11. - sh -e /etc/init.d/xvfb start
  12. notifications:
  13. email:
  14. on_failure: change
  15. after_success: 'npm run coveralls'
  16. cache:
  17. directories:
  18. - node_modules