Gulp: Have jshint errors trigger Travis CI failures.

This commit is contained in:
Jürg Lehni 2016-06-10 17:22:11 +02:00
parent 2c2542fb2f
commit 3e2a3827fd

View file

@ -18,5 +18,6 @@ gulp.task('jshint', function () {
return gulp.src('src/**/*.js')
.pipe(cache('jshint', { optimizeMemory: true }))
.pipe(jshint())
.pipe(jshint.reporter('jshint-summary'));
.pipe(jshint.reporter('jshint-summary'))
.pipe(jshint.reporter('fail'));
});