Skip to content

Commit

Permalink
[ci skip] disable closure lint for now (travis java errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Sep 7, 2017
1 parent 65859b1 commit e45e5bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -18,7 +18,7 @@ before_script:
- export PATH=$HOME/bin:$PATH
- npm install -g bower gulp-cli@1
- bower install
- npm run lint
- gulp lint-eslint
script:
- xvfb-run wct
- 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
Expand Down
6 changes: 5 additions & 1 deletion gulpfile.js
Expand Up @@ -242,13 +242,17 @@ gulp.task('estimate-size', ['clean'], () => {
.pipe(gulp.dest(BUNDLED_DIR))
});

gulp.task('lint', function() {
gulp.task('lint-eslint', function() {
return gulp.src(['lib/**/*.html', 'test/unit/*.html', 'util/*.js'])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});

gulp.task('lint', (done) => {
runseq('lint-eslint', 'lint-closure', done);
});

gulp.task('generate-closure-externs', ['clean'], () => {
let genClosure = require('@polymer/gen-closure-declarations').generateDeclarations;
return genClosure().then((declarations) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -33,7 +33,7 @@
"scripts": {
"build": "gulp",
"test": "npm run lint && wct",
"lint": "gulp lint lint-closure"
"lint": "gulp lint"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e45e5bb

Please sign in to comment.