language: node_js
node_js:
  - "6"
  - "8"
  - "10"
before_install:
  - if [[ `npm -v` < 5.3 ]]; then npm install -g npm@5.3.x; fi
script:
  - npm test -- --coverage
  - npm run compile
  - npm run test:bundles
after_success:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

language: node_js
node_js:
  - "8"
  - "10"
before_install:
  - if [[ `npm -v` < 5.3 ]]; then npm install -g npm@5.3.x; fi
script:
  - npm run prepublish
after_success:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

Disable CI for Node v6
Disable CI for Node v6
