diff --git a/.travis.yml b/.travis.yml index 0e29b1fa486d..15000a480297 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,16 @@ language: node_js -sudo: false dist: trusty +# Temporary set sudo to required, because in normal container-based Travis jobs, the Chrome +# binaries seem to be owned by root, and therefore can't be accessed by Karma. To workaround +# the issue we temporary grant the CI sudo permissions. +# https://github.com/travis-ci/travis-ci/issues/8836#issuecomment-356362524. +sudo: required + node_js: - - '8' + # Use the explicit NodeJS LTS version 8.9.4 to avoid any automatic upgrade of the version. + # This ensures that all Travis jobs run consistently and don't have different Node versions. + - '8.9.4' addons: jwt: