Skip to content

Commit 63a701c

Browse files
committed
Give CodeCov a try
1 parent 9db6d72 commit 63a701c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "mocha --ui qunit",
1414
"cover": "istanbul cover _mocha -- -R nyan --ui qunit && npm run -s check-coverage",
1515
"check-coverage": "istanbul check-coverage --branches 100",
16-
"travis": "istanbul cover _mocha --report lcovonly -- -R spec --ui qunit && (cat ./coverage/lcov.info | coveralls || true) && npm run -s check-coverage"
16+
"travis": "istanbul cover _mocha --report lcovonly -- -R spec --ui qunit && (codecov || true) && npm run -s check-coverage"
1717
},
1818
"repository": {
1919
"type": "git",
@@ -35,6 +35,7 @@
3535
},
3636
"homepage": "http://j2c.py.gy",
3737
"devDependencies": {
38+
"codecov": "^1.0.1",
3839
"compose-regexp": "^0.1.8",
3940
"coveralls": "^2.11.2",
4041
"eslint": "^1.10.3",

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,5 +1652,5 @@ function randInt() {
16521652

16531653
// TODO
16541654
// - spy on String.prototype.replace and RegExp.prototype.*
1655-
// to generate coverage reports for the branches hidden
1655+
// to generate coverage reports for the branches hidden
16561656
// in these native functions.

0 commit comments

Comments
 (0)