Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c330885
commit 4594ab3
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# if it's a linux build, we need to sleep before test: | ||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
export DISPLAY=:99.0 | ||
sh -e /etc/init.d/xvfb start | ||
sleep 5 # give xvfb some time to start by sleeping for 5 seconds | ||
fi |