Skip to content

Commit e45e5bb

Browse files
committed
[ci skip] disable closure lint for now (travis java errors)
1 parent 65859b1 commit e45e5bb

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ before_script:
1818
- export PATH=$HOME/bin:$PATH
1919
- npm install -g bower gulp-cli@1
2020
- bower install
21-
- npm run lint
21+
- gulp lint-eslint
2222
script:
2323
- xvfb-run wct
2424
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s 'windows 10/microsoftedge@14' -s 'windows 8.1/internet explorer@11' -s 'os x 10.11/safari@9' -s 'macos 10.12/safari@10' -s 'Linux/chrome@41'; fi

gulpfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,17 @@ gulp.task('estimate-size', ['clean'], () => {
242242
.pipe(gulp.dest(BUNDLED_DIR))
243243
});
244244

245-
gulp.task('lint', function() {
245+
gulp.task('lint-eslint', function() {
246246
return gulp.src(['lib/**/*.html', 'test/unit/*.html', 'util/*.js'])
247247
.pipe(eslint())
248248
.pipe(eslint.format())
249249
.pipe(eslint.failAfterError());
250250
});
251251

252+
gulp.task('lint', (done) => {
253+
runseq('lint-eslint', 'lint-closure', done);
254+
});
255+
252256
gulp.task('generate-closure-externs', ['clean'], () => {
253257
let genClosure = require('@polymer/gen-closure-declarations').generateDeclarations;
254258
return genClosure().then((declarations) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"scripts": {
3434
"build": "gulp",
3535
"test": "npm run lint && wct",
36-
"lint": "gulp lint lint-closure"
36+
"lint": "gulp lint"
3737
},
3838
"repository": {
3939
"type": "git",

0 commit comments

Comments
 (0)