Skip to content

Commit 39e51df

Browse files
committed
move coveralls to package, try again
1 parent 3f4f1eb commit 39e51df

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
language: node_js
22

33
node_js:
4-
- "iojs"
5-
- "0.12"
6-
- "0.10"
4+
- "iojs"
5+
- "0.12"
6+
- "0.10"
77

88
notifications:
99
irc:
1010
use_notice: true
1111
on_success: change
1212
on_failure: change
1313
channels:
14-
- chat.freenode.net#graphql
14+
- chat.freenode.net#graphql
1515

1616
after_success:
17-
- "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha --report lcovonly -- $npm_package_options_mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
17+
- npm run coveralls

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"check": "flow check",
3737
"cover": "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
3838
"build": "rm -rf lib/* && babel src --ignore __tests__ --optional runtime --out-dir lib",
39-
"watch": "babel --optional runtime scripts/watch.js | node"
39+
"watch": "babel --optional runtime scripts/watch.js | node",
40+
"coveralls": "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha --report lcovonly -- $npm_package_options_mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
4041
},
4142
"dependencies": {
4243
"babel-runtime": "5.6.12"

0 commit comments

Comments
 (0)