language: node_js
node_js:
  - "4"
  - "6"
  - "7"
dist: trusty
sudo: required
addons:
  firefox: latest
  apt:
    sources:
    - google-chrome
    packages:
    - google-chrome-stable
script: xvfb-run npm test

language: node_js
node_js:
  - "6"
  - "8"
dist: trusty
sudo: false
addons:
  firefox: latest
  chrome: stable
script: xvfb-run npm test

Test on Node 6 and 8
Test on Node 6 and 8

Update chrome usage and use docker images for faster testing
