Skip to content

Commit

Permalink
Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Neamar committed Dec 11, 2014
1 parent 323a083 commit dc51be7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 6 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ test:
pre:
- npm run-script lint
override:
- npm test
- npm run-script coverage
deployment:
automerge:
branch: /.+/
commands:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
],
"scripts": {
"test": "NODE_ENV=test mocha --recursive -R spec test/ -t 30000 -s 1000",
"coverage": "NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive -R spec test/ -t 30000 -s 1000",
"lint": "jshint config/ lib/ test/ script/ && jscs config/ lib/ test/ script/"
},
"main": "./lib/",
Expand All @@ -38,10 +39,13 @@
},
"devDependencies": {
"async": "^0.9.0",
"mocha": "^2.0.1",
"should": "^4.3.0",
"coveralls": "^2.11.2",
"istanbul": "^0.3.5",
"jscs": "^1.8.1",
"jshint": "^2.5.10",
"jscs": "^1.8.1"
"mocha": "^2.0.1",
"mocha-lcov-reporter": "0.0.1",
"should": "^4.3.0"
},
"licence": "MIT",
"engines": {
Expand Down

0 comments on commit dc51be7

Please sign in to comment.