---
language: node_js

sudo: false

cache:
  directories:
    - node_modules

before_install:
  - "npm config set spin false"
  - "npm install -g npm@^2"

install:
  - npm install

script:
  - npm test

---
language: node_js

sudo: false

cache:
  directories:
    - node_modules

before_install:
  - "npm config set spin false"
  - "npm install -g npm@^2"

install:
  - npm install
  - npm install codecov.io@0.1.2 mocha-lcov-reporter@0.0.2

script:
  - npm test

after_success:
  ./node_modules/.bin/mocha -R mocha-lcov-reporter -u tdd ./node_tests | sed 's@SF:@SF:lib/@' | ./node_modules/.bin/codecov

Send coverage report to codecov
Send coverage report to codecov
