language: node_js
node_js:
  - '0.11'
  - '0.10'
before_script:
  - npm install -g istanbul
  - npm install -g mocha
script:
  - npm run coverage

language: node_js
node_js:
  - '0.11'
  - '0.10'
before_script:
  - npm install -g istanbul
  - npm install -g mocha
script:
  - npm run coverage
after_script:
  - npm install codeclimate-test-reporter && cat coverage/lcov.info | codeclimate
env:
  global:
    - secure: h0A1kKlSKOjR5q7xAeX/NjaZGWKFHK3DS/0mTGWSx+ZTnWPDabqvlVBtPKJduBMTKar8GGRJu4l2bkrovDq6Qdkbopr1uF993T6iRe4o1JJSwQrJKJ2wem7MVjj3jab3OoIhVI01Oi2sh/+IMwKU9Cw0ZebN6NW3qKONSWNuuVY=

Add after_script hook to report code coverage to code climate
Add after_script hook to report code coverage to code climate
