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