.travis.yml 780 B

12345678910111213141516171819202122232425262728293031323334
  1. language: node_js
  2. node_js:
  3. # when changing this, be sure to edit .nvrmc and package.json too
  4. - 8
  5. python:
  6. - "2.7"
  7. addons:
  8. # Run unit tests in Nightly to be in line with what Firefox tests would run against
  9. firefox: "latest-nightly"
  10. cache:
  11. directories:
  12. - node_modules
  13. before_install:
  14. # see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
  15. - "export DISPLAY=:99.0"
  16. - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
  17. - export PATH="$PATH:$HOME/.rvm/bin"
  18. - sleep 3
  19. install:
  20. - npm config set spin false
  21. - npm install
  22. script:
  23. - npm test
  24. notifications:
  25. email: false