Skip to content

Commit

Permalink
add lint to all test tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Nov 9, 2015
1 parent 9e6487d commit 6b16f67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ gulp.task('selenium', function(done) {
});
});

gulp.task('test', ['serve', 'selenium'], function(done) {
gulp.task('test', ['lint', 'serve', 'selenium'], function(done) {
var error;
console.log('Starting webdriver...');

Expand All @@ -134,7 +134,7 @@ gulp.task('test', ['serve', 'selenium'], function(done) {
.on('finish', finish);
});

gulp.task('test:cloud', ['serve'], function(done) {
gulp.task('test:cloud', ['lint', 'serve'], function(done) {
gulp.src('test/conf/cloud.conf.js')
.pipe(browserStack.startTunnel({
key: privateConfig.key,
Expand All @@ -157,7 +157,7 @@ gulp.task('test:cloud', ['serve'], function(done) {
});
});

gulp.task('test:cloud:all', function(done) {
gulp.task('test:cloud:all', ['lint', 'serve'], function(done) {
return gulp
.src('test/conf/cloud-all.conf.js')
.pipe(browserStack.startTunnel({
Expand Down

0 comments on commit 6b16f67

Please sign in to comment.