sudo: false

language: node_js

node_js:
  - "8"

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

# cache:
#   yarn: true
#   directories:
#     - "node_modules"

install:
  - yarn install

script:
  - yarn test
  - yarn format
