language: node_js
node_js:
  - "6"
cache:
  directories:
    - $HOME/.npm
    - $HOME/.yarn-cache
    - node_modules
    - packages/whosmysanta-core
before_install:
  - time npm i -g lerna@prerelease yarn --cache-min 999999999
install:
  - time lerna exec -- yarn
script:
  - yarn run lint
  - yarn run flow
  - yarn run test

language: node_js
node_js:
  - "node"
cache:
  directories:
    - $HOME/.npm
    - node_modules
  yarn: true
before_install:
  - time npm i -g yarn --cache-min 999999999
  - time yarn global add lerna@2.0.0-beta.36
install:
  - time lerna exec -- yarn
script:
  - time yarn run lint
  - time yarn run flow
  - time yarn run test

Use yarn to install lerna on TravisCI
Use yarn to install lerna on TravisCI
