From 965f395ad761fbebab9705af552c0a646155d53a Mon Sep 17 00:00:00 2001 From: "weiran.zsd" Date: Thu, 22 Aug 2019 09:37:38 +0800 Subject: [PATCH] build: fix linting (refs eslint/eslint#12119) --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index c09a1f2747..57583f8c53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ script: - 'if [ "${TEST-}" = true ]; then npm run tests-only ; fi' - 'if [ -n "${KARMA-}" ]; then npm run tests-karma ; fi' - 'if [ -n "${COVERAGE-}" ] && [ "${TRAVIS_BRANCH-}" = "master" ]; then npm run cover; cat ./coverage/lcov.info | ./node_modules/.bin/coveralls ; fi' +install: + - 'if [ -n "${LINT-}" ]; then npm install --legacy-bundling ; else npm install ; fi' env: global: - TEST=true