sudo: false
language: node_js
node_js:
  - "7"
  - "6"
  - "5"
  - "4"
matrix:
  include:
    - node_js: "lts/*"
      env: LINT=true
script:
  - 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
  - 'if [ -z "${LINT-}" ]; then npm run test-ci ; fi'
after_success:
  - npm run coverage

sudo: false
language: node_js
node_js:
  - "7"
  - "6"
  - "5"
matrix:
  include:
    - node_js: "lts/*"
      env: LINT=true
script:
  - 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
  - 'if [ -z "${LINT-}" ]; then npm run test-ci ; fi'
after_success:
  - npm run coverage

Disable build for node v4
Disable build for node v4

- npm install on travis fails for no good reason. Wait for yarn support on travis next week and try again.
