language: node_js
addons:
  firefox: "latest"
node_js:
  - "6"
  - "4"
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
script: npm run test-ci