language: node_js
node_js:
- 8.9.4
cache: npm
before_install:
- npm i -g npm@5.6.0
install:
- npm i
script:
- npm run test
- npm run test:coverage
branches:
  only:
  - master