fix: Use google-chrome-stale

This commit is contained in:
1ambda 2017-07-11 18:52:56 +09:00
parent 7da9845c0f
commit 55faa0e0af
2 changed files with 6 additions and 1 deletions

View file

@ -120,7 +120,11 @@ before_script:
- echo "export SPARK_HOME=`pwd`/spark-$SPARK_VER-bin-hadoop$HADOOP_VER" > conf/zeppelin-env.sh
- echo "export ZEPPELIN_HELIUM_REGISTRY=helium" >> conf/zeppelin-env.sh
- tail conf/zeppelin-env.sh
- export DBUS_SESSION_BUS_ADDRESS=/dev/null; export CHROME_BIN=chromium-browser; export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3;
# - export DBUS_SESSION_BUS_ADDRESS=/dev/null
- export CHROME_BIN=google-chrome-stable;
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- if [[ -n $TEST_MODULES ]]; then export MODULES="${TEST_MODULES}"; fi

View file

@ -36,6 +36,7 @@ var baseConfig = {
if (process.env.TRAVIS) {
baseConfig.capabilities.chromeOptions = {
args: ['--headless', '--disable-gpu'],
binary: process.env.CHROME_BIN,
};
}