Skip to content

Commit b593f31

Browse files
committed
Add codecov.io support
1 parent f1e02e9 commit b593f31

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ language: node_js
33
node_js:
44
- node
55
script: npm run travis
6+
after_success:
7+
- cat ./coverage/coverage.json | node_modules/codecov.io/bin/codecov.io.js
8+
- rm -rf ./coverage

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"range-parser": "^1.0.3"
1313
},
1414
"devDependencies": {
15+
"codecov.io": "^0.1.6",
1516
"eslint": "^3.4.0",
1617
"express": "^4.14.0",
1718
"file-loader": "^0.9.0",
@@ -43,6 +44,6 @@
4344
"test": "mocha --full-trace --check-leaks",
4445
"beautify": "npm run lint -- --fix",
4546
"cover": "istanbul cover node_modules/mocha/bin/_mocha",
46-
"travis": "npm run cover && npm run lint"
47+
"travis": "npm run cover -- --report lcovonly && npm run lint"
4748
}
4849
}

0 commit comments

Comments
 (0)