Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
maraoz committed Jun 5, 2014
1 parent b8986ed commit f2fc616
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: lBB0wwrjIH3RkwvTjkv8g5r4aUjcIUreC
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ language: node_js
node_js:
- "0.10"

script: "mocha"
# by default, travis will call `npm test`
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"scripts": {
"install": "node-gyp rebuild",
"test": "mocha test -R spec",
"test": "node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter spec test",
"prepublish": "node browser/build.js -a"
},
Expand All @@ -73,16 +73,17 @@
"underscore": "~1.6.0"
},
"devDependencies": {
"brfs": "~1.0.0",
"browser-pack": "~2.0.1",
"commander": "~2.1.0",
"coveralls": "^2.10.0",
"grunt-browserify": "~2.0.0",
"grunt-contrib-watch": "~0.5.3",
"grunt-markdown": "~0.5.0",
"grunt-mocha-test": "~0.8.2",
"grunt-shell": "~0.6.4",
"grunt-browserify": "~2.0.0",
"grunt-markdown": "~0.5.0",
"mocha": ">=1.15.1",
"brfs": "~1.0.0",
"commander": "~2.1.0",
"browser-pack": "~2.0.1",
"istanbul": "~0.2.6"
"istanbul": "~0.2.6",
"mocha": ">=1.15.1"
},
"testling": {
"harness": "mocha-bdd",
Expand Down

0 comments on commit f2fc616

Please sign in to comment.