summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-11-11 16:13:52 -0500
committerLex Neva <github.com@lexneva.name>2020-01-29 01:29:49 -0500
commitd34aa2e4a9796e1be245306c9a59392e05bc2098 (patch)
treec29975377a05ac86825eebea8672012db3c5b05c
parentc08d838ade3dbb374750eedcd7c57836e332f05b (diff)
start Xvfb properly
-rw-r--r--.travis.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index f94d1fa0..e1e98055 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -97,11 +97,12 @@ install:
elif [ "$BUILD" = "windows" ]; then
set -x
+ sudo apt-get install xvfb
+ export DISPLAY=:99.0
+ Xvfb :99.0 &
+
sudo add-apt-repository ppa:ubuntu-wine/ppa -y
sudo apt-get update -qq
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
sudo apt-get -q install -y wine
export WINEDEBUG=-all