language: node_js
cache:
  yarn: true
  directories:
    - node_modules
node_js:
  - 4
  - 6
  - 7
script:
  - 'yarn run test:coverage'
after_success:
  - npm run semantic-release
  - 'bash <(curl -s https://codecov.io/bash)'
branches:
  except:
    - /^v\d+\.\d+\.\d+$/

language: node_js
cache:
  directories:
    - node_modules
node_js:
  - 4
  - 6
  - 8
script:
  - 'npm run test:coverage'
after_success:
  - npm run semantic-release
  - 'bash <(curl -s https://codecov.io/bash)'
branches:
  except:
    - /^v\d+\.\d+\.\d+$/

Use Node 8, Yarn → npm
Chore(Travis): Use Node 8, Yarn → npm
