language: node_js

node_js:
  - 6

cache:
  directories:
    - node_modules

install:
  - yarn

script:
  - yarn flow
  - CI=true yarn test

language: node_js

node_js:
  - 6

cache:
  directories:
    - node_modules

script:
  - npm run flow
  - CI=true npm run test

Change yarn to npm in Travis CI scripts
Change yarn to npm in Travis CI scripts
