language: node_js

node_js:
 - "4"
 - "6"
 - "8"
 - "9"
 - "10"

script:
- npm run test-with-coverage

after_success:
- ./node_modules/.bin/codecov
