mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Gulp: Have jshint errors trigger Travis CI failures.
This commit is contained in:
parent
2c2542fb2f
commit
3e2a3827fd
1 changed files with 2 additions and 1 deletions
|
@ -18,5 +18,6 @@ gulp.task('jshint', function () {
|
||||||
return gulp.src('src/**/*.js')
|
return gulp.src('src/**/*.js')
|
||||||
.pipe(cache('jshint', { optimizeMemory: true }))
|
.pipe(cache('jshint', { optimizeMemory: true }))
|
||||||
.pipe(jshint())
|
.pipe(jshint())
|
||||||
.pipe(jshint.reporter('jshint-summary'));
|
.pipe(jshint.reporter('jshint-summary'))
|
||||||
|
.pipe(jshint.reporter('fail'));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue