Skip to content

Commit

Permalink
Codecov (#1)
Browse files Browse the repository at this point in the history
* trying to get codecov to work
  • Loading branch information
msimerson authored Sep 30, 2016
1 parent a169951 commit d36d28d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ script:
- npm test

after_success:
- npm install istanbul codecov.io
- ./node_modules/istanbul/lib/cli.js cov run_tests
- cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js
- npm install istanbul codecov blanket
- ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- -R spec
- ./node_modules/.bin/codecov

sudo: false
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,4 @@ function htmlBody (uuid, awards, resolve) {
<pre> \
\n';
return str;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "mocha",
"lint": "node node_modules/eslint/bin/eslint.js *.js test/*.js"
"lint": "node node_modules/.bin/eslint *.js test/*.js"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ describe('get_rules', function() {
it.skip('returns rules section from karma.ini', function (done) {
done();
})
});
});

0 comments on commit d36d28d

Please sign in to comment.