language: node_js
sudo: false

git:
  depth: 10

node_js:
  - 6
  - 8
  - 10
  - 12

install:
  - npm install
  - npm install -g codecov

script:
  - npm test
  - npm run cover

after_script:
  - codecov
