Skip to content

Commit 0fa696a

Browse files
committed
Move pylint to grunt lint task
Prevents linting failures from failing builds
1 parent 31a6ad1 commit 0fa696a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ services:
66

77
install:
88
- "pip install -r requirements.txt"
9+
- "curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash"
10+
- "nvm install"
11+
- "nvm use"
12+
- "npm install -g gulp"
13+
- "npm install"
914
script:
10-
- "pylint --load-plugins pylint_quotes packet/routes packet"
15+
- "gulp lint"
1116
- "docker build -t packet ."

gulpfile.js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ requireDir('./tasks', {recurse: true});
1919

2020
// Default task
2121
gulp.task('default', gulp.parallel('css', 'js'));
22-
gulp.task('production', gulp.parallel('css', 'js', 'generate-favicon', 'pylint'));
22+
gulp.task('production', gulp.parallel('css', 'js', 'generate-favicon'));
23+
gulp.task('lint', gulp.parallel('pylint'));

0 commit comments

Comments
 (0)