language: node_js
node_js:
  - "8"
  - "9"
cache:
  yarn: true
  directories:
    - node_modules
install:
  - yarn install
script:
  - yarn run test
after_success:
  - yarn run coverage