dist: trusty
language: node_js

node_js:
  - '8'
  - '6'
  - '4'

sudo: false

addons:
  apt:
    packages:
      - google-chrome-stable

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start &
  - sleep 3

cache:
  yarn: true

dist: trusty
language: node_js

node_js:
  - '8'
  - '6'

sudo: false

addons:
  apt:
    packages:
      - google-chrome-stable

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start &
  - sleep 3

cache:
  yarn: true

Test using Node 6 and 8 6 is the current LTS and 8 is next.
Test using Node 6 and 8
6 is the current LTS and 8 is next.
