Skip to content

Commit

Permalink
Submitting coverage report to coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
lkrnac committed Jun 23, 2014
1 parent 5a9966d commit c883604
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ var gulp = require('gulp');
var traceur = require('gulp-traceur');
var mocha = require('gulp-mocha');
var istanbul = require('gulp-istanbul');
var coveralls = require('gulp-coveralls');



gulp.task('build', function () {
return gulp.src('lib/jasstor.js')
Expand All @@ -26,4 +29,6 @@ gulp.task('coverage', ['build'], function (cb) {
.pipe(istanbul.writeReports())
.on('end', cb);
});
gulp.src('coverage/lcov.info')
.pipe(coveralls());
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"scripts": {
"test": "gulp test",
"build": "gulp build"
"build": "gulp build",
"coverage": "gulp coverage"
},
"dependencies": {
"bcrypt": "^0.7.8"
Expand Down

0 comments on commit c883604

Please sign in to comment.