sudo: false

language: node_js

node_js:
  - 9
  - 8
  - 6

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

cache:
  yarn: true
  directories:
    - $HOME/.cache
    - node_modules
