Update travis setup, run linter on travis

This commit is contained in:
Slava Bacherikov committed 2018-01-10 03:18:35 +02:00
1 parent bec3f4027a
commit a90520583c
3 files changed
+13 -4

No files matched your search

+2 -2
View File
@@ -14,10 +14,10 @@ gulp.task('test', ['build'], function() {
return gulp.src("dist/*.spec.js").pipe(jasmine());
});
gulp.task('tslint', function() {
gulp.task('lint', function() {
return tsProject.src()
.pipe(tslint({"formatter": "verbose"}))
.pipe(tslint.report());
});
gulp.task('default', ['tslint', 'build', 'test'])
gulp.task('default', ['build', 'test', 'lint'])