Skip to content

Commit

Permalink
Give CodeCov a try
Browse files Browse the repository at this point in the history
  • Loading branch information
pygy committed Feb 10, 2016
1 parent 9db6d72 commit 63a701c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "mocha --ui qunit",
"cover": "istanbul cover _mocha -- -R nyan --ui qunit && npm run -s check-coverage",
"check-coverage": "istanbul check-coverage --branches 100",
"travis": "istanbul cover _mocha --report lcovonly -- -R spec --ui qunit && (cat ./coverage/lcov.info | coveralls || true) && npm run -s check-coverage"
"travis": "istanbul cover _mocha --report lcovonly -- -R spec --ui qunit && (codecov || true) && npm run -s check-coverage"
},
"repository": {
"type": "git",
Expand All @@ -35,6 +35,7 @@
},
"homepage": "http://j2c.py.gy",
"devDependencies": {
"codecov": "^1.0.1",
"compose-regexp": "^0.1.8",
"coveralls": "^2.11.2",
"eslint": "^1.10.3",
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1652,5 +1652,5 @@ function randInt() {

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

0 comments on commit 63a701c

Please sign in to comment.