language: node_js
node_js:
    - "iojs"
    - "8"
    - "7"
    - "6"
    - "5"
    - "4"

env:
    - CODECOV_TOKEN="61766506-526c-4fa0-9c17-539b4f14fc3d"

notifications:
    email:
        - info@valentineus.link

before_install:
    - npm install --only=production
    - npm install --only=development

install:
    - npm install --global source-map-support
    - npm install --global istanbul
    - npm install --global codecov

before_script:
    - npm run build

script:
    - istanbul cover ./node_modules/mocha/bin/mocha tests/index.js --report lcovonly -- -R spec

after_success:
    - codecov
language: node_js
node_js:
    - "iojs"
    - "8"
    - "7"
    - "6"
    - "5"
    - "4"

notifications:
    email:
        - info@valentineus.link

before_install:
    - npm install --only=production
    - npm install --only=development

install:
    - npm install --global mocha-lcov-reporter
    - npm install --global coveralls
    - npm install --global istanbul

before_script:
    - npm run build

script:
    - istanbul cover ./node_modules/mocha/bin/mocha tests/index.js --report mocha-lcov-reporter -- -R spec

after_success:
    - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
Change report system to coveralls
Change report system to coveralls
