Commit 5b631417 authored by Sean Roberts's avatar Sean Roberts

Adding codecov configuration for client

parent 5ec65eb3
......@@ -15,3 +15,5 @@ matrix:
script: npm run lint
- env: ACTION=test
node_js: '6.2'
after_success:
npm run report-coverage
......@@ -87,10 +87,11 @@ module.exports = function(config) {
},
coverageReporter: {
type : 'html',
// place this in root of the project
dir : '../../../coverage/',
dir: '../../../coverage/',
reporters: [
{type:'html'},
{type:'json', subdir: './'},
],
},
// Use https://www.npmjs.com/package/karma-mocha-reporter
......
......@@ -26,6 +26,7 @@
"chai": "^3.5.0",
"check-dependencies": "^0.12.0",
"classnames": "^2.2.4",
"codecov": "^1.0.1",
"coffeeify": "^1.0.0",
"commander": "^2.9.0",
"core-js": "^1.2.5",
......@@ -140,6 +141,7 @@
"deps": "check-dependencies",
"lint": "eslint .",
"test": "gulp test",
"report-coverage": "codecov -f coverage/coverage-final.json",
"preversion": "npm run test",
"version": "make clean all && ./scripts/update-changelog.js && git add CHANGELOG.md",
"postversion": "./scripts/postversion.sh",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment