language: node_js
node_js: 10

after_success:
  - if [[ "$TRAVIS_BRANCH" == "master" ]]; then bash .travis/deploy.sh; fi

language: node_js
node_js: 10

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH

install:
  - yarn install

script:
  - yarn test

after_success:
  - if [[ "$TRAVIS_BRANCH" == "master" ]]; then bash .travis/deploy.sh; fi

Use `yarn` instead of `npm`
CI: Use `yarn` instead of `npm`
