Fix travis by running browser tests in headless mode (#3001)

* Fix travis by running browser tests in headless mode
This commit is contained in:
Sam El-Husseini
2019-09-11 17:25:22 -07:00
committed by GitHub
parent 042ddb043b
commit 09d2a167f9
16 changed files with 66 additions and 92 deletions

View File

@@ -3,6 +3,6 @@
if [ "${TRAVIS_OS_NAME}" == "linux" ]
then
export CHROME_BIN="/usr/bin/google-chrome"
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start &
npm run test:prepare > /dev/null &
fi