language: node_js
node_js:
  - "8"
  - "7"
  - "6"
  - "5"
  - "4"
sudo: false

script:
  - npm run test-with-cov

after_success:
  - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_TOKEN ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./coverage/lcov.info

git:
  depth: 10

language: node_js
node_js:
  - "9"
  - "8"
  - "7"
  - "6"
  - "5"
sudo: false

script:
  - npm run test-with-cov

after_success:
  - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_TOKEN ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./coverage/lcov.info

git:
  depth: 10

Disable node js 4, add 9 in Travis
Disable node js 4, add 9 in Travis