Skip to content

Commit

Permalink
Updated code coverage submissions for CodeClimate
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Apr 24, 2015
1 parent 8949641 commit 65ffea9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@ services:
env:
- CI_SERVER=1

addons:
codeclimate:
repo_token: 9c90177b42d39905ca635b1f6226580dab5799f87f172b66bab4e8df77b67a13

after_script:
- npm run coverage:travis
- coveralls < coverage/lcov.info
- codeclimate < coverage/lcov.info
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"scripts": {
"test": "npm run coverage",
"test:watch": "mocha -w",
"coverage": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --ui bdd",
"coverage:travis:before": "npm run coverage",
"coverage:travis": "cat coverage/lcov.info | coveralls"
"coverage": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --ui bdd"
},
"engines": {
"node": ">= 0.8"
Expand All @@ -44,7 +42,8 @@
"underscore": "^1.8.3",
"tick": "~0.1.1",
"istanbul": "~0.3.13",
"coveralls": "^2.11.2"
"coveralls": "^2.11.2",
"codeclimate-test-reporter": "~0.0.4"
},
"keywords": [
"mongodb",
Expand Down

0 comments on commit 65ffea9

Please sign in to comment.