language: node_js
node_js:
  - "node"
cache:
  directories:
    - "node_modules"
language: node_js
node_js:
  - "node"
cache:
  directories:
    - "node_modules"
addons:
  code_climate:
    repo_token: $CODECLIMATE_REPO_TOKEN
after_success:
  - npm install -g codeclimate-test-reporter
  - codeclimate-test-reporter < coverage/lcov.info

Add coverage to Code Climate
Add coverage to Code Climate