language: node_js
node_js:
  - "node"
  - "10"
  - "9"
  - "8"
install:
  - npm install --only=dev
script:
  - npm test
after_success: npm run coverage