language: node_js
node_js:
  - 6.0
  - 8.0
  - node
before_script:
  - npm dedupe
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
sudo: false
script:
  - npm run jshint
  - npm run test:browser
  - npm run coverage:upload

language: node_js
node_js:
  - 6.0
  - 8.0
  - 10.2.1
before_script:
  - npm dedupe
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
sudo: false
script:
  - npm run jshint
  - npm run test:browser
  - npm run coverage:upload

Use a specific version of Node 10
Use a specific version of Node 10
