Skip to content

Commit da3d5e6

Browse files
committed
Add coveralls support
1 parent e3f90b3 commit da3d5e6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

gulp/tests.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var gulp = require('gulp');
55
var eslint = require('gulp-eslint');
66
var mocha = require('gulp-mocha');
77
var cover = require('gulp-coverage');
8+
var coveralls = require('gulp-coveralls');
89
var config = require('./config');
910

1011
module.exports = {
@@ -58,6 +59,7 @@ module.exports = {
5859
{ reporter: 'json', outFile: 'coverage.json' },
5960
{ reporter: 'lcov', outFile: 'coverage.lcov' },
6061
]))
62+
.pipe(coveralls())
6163
.pipe(gulp.dest('reports'))
6264
.on('end', function() {
6365
process.chdir(pwd);

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"globby": "^4.0.0",
1414
"gulp": "^3.9.0",
1515
"gulp-coverage": "^0.3.38",
16+
"gulp-coveralls": "^0.1.4",
1617
"gulp-eslint": "^1.1.1",
1718
"gulp-mocha": "^2.2.0",
1819
"gulp-serve": "^1.2.0",

0 commit comments

Comments
 (0)