language: node_js
node_js:
  - "6"
dist: trusty
addons:
  chrome: stable
before_script:
  - npm i -g codecov
script:
  - npm test
  - codecov

language: node_js
node_js:
  - "8"
  - "10"
dist: trusty
addons:
  chrome: stable
before_script:
  - npm i -g codecov
script:
  - npm test
  - codecov

Use node 8, 10 to run tests
Use node 8, 10 to run tests
