Skip to content
This repository was archived by the owner on Jul 8, 2020. It is now read-only.

Commit 36a909f

Browse files
committed
chore(ci): lint code before running
1 parent 4ca8a7f commit 36a909f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ node_js:
44
before_script:
55
- psql -c 'create database valet_io_pledge;' -U postgres
66
- gulp migrate
7+
script:
8+
- gulp lint
9+
- gulp test
710
env:
811
global:
912
- secure: HQJyiIck8D3KPE5IKwrowrV8aZn80O+hEW02xyLhezYHTJ/Az8hxujH2VgT9StpQGGiI838yjKiqIWfJYbR17A1VMSxWbDnwN62H5RYpJvyWwJpk91f1qayTj0pWZVNsCUNkQ+bPP1a/yhrs2wIJ0kQc96fddMPaXrlsc61Qh8U=

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var plugins = require('gulp-load-plugins')();
55
var argv = require('yargs').argv;
66

77
gulp.task('lint', function () {
8-
return gulp.src(['src/**', 'test/**'])
8+
return gulp.src(['src/**', 'test/**', 'migrations/**'])
99
.pipe(plugins.jshint())
1010
.pipe(plugins.jshint.reporter('jshint-stylish'));
1111
});

0 commit comments

Comments
 (0)