diff --git a/scripts/ci/install.sh b/scripts/ci/install.sh index f335e28be9..67aee1a004 100755 --- a/scripts/ci/install.sh +++ b/scripts/ci/install.sh @@ -75,18 +75,11 @@ if [[ ${TRAVIS} && ${CI_MODE} == "bazel" ]]; then travisFoldEnd "bazel-install" fi -# Install Chromium -if [[ ${CI_MODE} == "js" || ${CI_MODE} == "e2e" || ${CI_MODE} == "e2e_2" || ${CI_MODE} == "aio" || ${CI_MODE} == "aio_e2e" ]]; then - travisFoldStart "install-chromium" - ( - # Start xvfb for local Chrome used for testing - if [[ ${TRAVIS} ]]; then - travisFoldStart "install-chromium.xvfb-start" - sh -e /etc/init.d/xvfb start - travisFoldEnd "install-chromium.xvfb-start" - fi - ) - travisFoldEnd "install-chromium" +# Start xvfb for local Chrome testing +if [[ ${TRAVIS} && (${CI_MODE} == "js" || ${CI_MODE} == "e2e" || ${CI_MODE} == "e2e_2" || ${CI_MODE} == "aio" || ${CI_MODE} == "aio_e2e") ]]; then + travisFoldStart "xvfb-start" + sh -e /etc/init.d/xvfb start + travisFoldEnd "xvfb-start" fi