language: node_js

node_js:
 - "7"
 - "6"

cache:
  yarn: true
  directories:
    - node_modules
    - jest-cache

script:
 - yarn run lint
 - yarn test -- --cacheDirectory="jest-cache"

language: node_js

node_js:
 - "8"
 - "6"

cache:
  yarn: true
  directories:
    - node_modules
    - jest-cache

script:
 - yarn run lint
 - yarn test -- --cacheDirectory="jest-cache"

Use latest node 8 instead of 7 for CI
:wrench: Use latest node 8 instead of 7 for CI
