sudo: false

language: node_js
node_js:
  - "6"

cache: yarn

before_install:
  # use most recent stable `yarn` version
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH

install:
  - yarn --no-lockfile

script:
  - yarn problems
  - yarn lint
  - yarn test
  - yarn bench

after_success:
  - yarn build

language: node_js
node_js:
  - "6"

cache: yarn

before_install:
  # use most recent stable `yarn` version
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH

install:
  - yarn --no-lockfile

script:
  - yarn problems
  - yarn lint
  - yarn test
  - yarn bench

after_success:
  - yarn build

Remove deprecated `sudo: false` option
TravisCI: Remove deprecated `sudo: false` option

see https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
