Files
zulip-desktop/scripts/travis-build-test.sh
James Steele 62963ae563 Setup for spectron on Travis CI Linux runs
Invoke test runs via travis using a separate shell script that ensures the
a suitable frame buffer is available to run chromedriver against
2016-09-11 01:00:41 +01:00

10 lines
146 B
Bash
Executable File

#!/usr/bin/env bash
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
fi
npm run test