Files
blockly/tests/scripts/setup_linux_env.sh
Sam El-Husseini 09d2a167f9 Fix travis by running browser tests in headless mode (#3001)
* Fix travis by running browser tests in headless mode
2019-09-11 17:25:22 -07:00

9 lines
182 B
Bash
Executable File

#!/bin/bash
if [ "${TRAVIS_OS_NAME}" == "linux" ]
then
export CHROME_BIN="/usr/bin/google-chrome"
sh -e /etc/init.d/xvfb start &
npm run test:prepare > /dev/null &
fi