diff --git a/.travis.yml b/.travis.yml index 6ef610c..9d67de5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,6 @@ node_js: - 6 - stable -after_success: - - 'cat ./coverage/lcov.info | ./node_modules/.bin/coveralls' \ No newline at end of file +script: "npm run coverage" +# Send coverage data to Coveralls +after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" \ No newline at end of file diff --git a/package.json b/package.json index 91117ed..55b2ccf 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "chai": "^2.2.0", "coveralls": "^2.11.9", "istanbul": "^0.4.3", - "mocha": "^2.2.3" + "mocha": "^2.2.3", + "mocha-lcov-reporter": "^1.2.0" }, "dependencies": {}, "scripts": {