From 3e2a3827fdaa359eb8f14e503d18f8fe9f23c232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 10 Jun 2016 17:22:11 +0200 Subject: [PATCH] Gulp: Have jshint errors trigger Travis CI failures. --- gulp/tasks/jshint.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulp/tasks/jshint.js b/gulp/tasks/jshint.js index c6da7c07..382f9154 100644 --- a/gulp/tasks/jshint.js +++ b/gulp/tasks/jshint.js @@ -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')); });