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

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

Change directory back to root
Change directory back to root