Skip to content

Commit f36cb4d

Browse files
committed
[fix] coveralls.. will it work?
1 parent ca09263 commit f36cb4d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ notifications:
77
email:
88
99
irc: "irc.freenode.org#nodejitsu"
10+
11+
script:
12+
npm run-script coveralls

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@
1818
"blanket" : "*",
1919
"ws" : "*",
2020
"socket.io" : "*",
21-
"socket.io-client" : "*"
21+
"socket.io-client" : "*",
22+
"coveralls" : "*",
23+
"mocha-lcov-reporter": "*"
2224
},
2325
"scripts" : {
26+
"coveralls" : "mocha --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js",
2427
"blanket" : { "pattern": "lib/caronte" },
2528
"test" : "./node_modules/.bin/mocha -R landing test/*-test.js",
2629
"test-cov" : "./node_modules/.bin/mocha --require blanket -R html-cov > cov/coverage.html"

0 commit comments

Comments
 (0)