Skip to content

Commit 037c936

Browse files
committed
=BG= run coveralls in after_success hook for travis
1 parent 317986f commit 037c936

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ node_js:
77
- "iojs-v1.0.4"
88
script:
99
- npm run lint
10-
- npm run coveralls
10+
- npm run cover
11+
after_success:
12+
- npm run coveralls

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"test": "node ./node_modules/jasmine-node/bin/jasmine-node test",
3232
"lint": "./node_modules/jshint/bin/jshint --verbose --reporter ./node_modules/jshint-stylish .",
3333
"cover": "node ./node_modules/istanbul/lib/cli cover ./node_modules/jasmine-node/bin/jasmine-node test",
34-
"coveralls": "npm run cover && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
34+
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
3535
},
3636
"main": "qryq.js",
3737
"repository": {

0 commit comments

Comments
 (0)