sudo: false
language: node_js
node_js:
  - "9"
  - "8"
  - "6"
  - "4.5"

cache:
  directories:
    - $HOME/.npm
    - $HOME/.yarn-cache

install:
  - yarn install --prefer-offline

script:
  - yarn run lint
  - yarn test

after_success:
  - npm install -g codeclimate-test-reporter
  - CODECLIMATE_REPO_TOKEN=894d8b642aaea5b4d6e952752ec6afb8816d4b554a2738b8b6d87f832c7dbce4 codeclimate-test-reporter < coverage/lcov.info

sudo: false
language: node_js
node_js:
  - '9'
  - '8'
  - '6'

cache:
  directories:
    - $HOME/.npm
    - $HOME/.yarn-cache

install:
  - yarn install --prefer-offline

script:
  - yarn run lint
  - yarn test

after_success:
  - npm install -g codeclimate-test-reporter
  - CODECLIMATE_REPO_TOKEN=894d8b642aaea5b4d6e952752ec6afb8816d4b554a2738b8b6d87f832c7dbce4 codeclimate-test-reporter < coverage/lcov.info

Remove node 4.5 from test matrix
Remove node 4.5 from test matrix
