language: node_js
node_js:
  - '4'
  - '6'
  - '8'
  - '9'
  - '10'
script: "npm run test-travis"
# Send coverage data to Coveralls
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
cache:
  directories:
    - node_modules