language: node_js
node_js:
    - '10'
install:
    - git submodule update --init --recursive
    - yarn install --frozen-lockfile --network-concurrency 1
script:
    - npm run test -- --detectOpenHandles
    - npm run lint
    - npm run build:ci
    - npm run storybook:ci
cache:
    yarn: true
    directories:
        - node_modules
notifications:
    email: false

if: branch != master AND type = push
language: node_js
node_js:
    - '10'
install:
    - git submodule update --init --recursive
    - yarn install --frozen-lockfile --network-concurrency 1
script:
    - npm run test -- --detectOpenHandles
    - npm run lint
    - npm run build:ci
cache:
    yarn: true
    directories:
        - node_modules
notifications:
    email: false

Exclude master branch from Travis + storybook
Exclude master branch from Travis + storybook

- storybook hasn't been used in a long time - this takes a few mins off the build. Can easily bring it back when/if we need it
