language: node_js
node_js:
  - "6"
before_install:
 - export DISPLAY=:99.0
 - sh -e /etc/init.d/xvfb start
 - sleep 3
script:
  - yarn test
cache: yarn

language: node_js
node_js:
  - "8"
  - "10"
before_install:
 - export DISPLAY=:99.0
 - sh -e /etc/init.d/xvfb start
 - sleep 3
script:
  - yarn test
cache: yarn

Use node 8 and 10
Use node 8 and 10
