Skip to content

Commit 4b66a52

Browse files
committed
tests: fix display, the return 12
1 parent 21bdb4c commit 4b66a52

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ python:
88
- 3.5
99
# - nightly
1010

11+
addons:
12+
apt:
13+
packages:
14+
- x11-xserver-utils
15+
1116
before_install:
12-
- export DISPLAY=:99.0
13-
- sudo /etc/init.d/xvfb stop
17+
# - export DISPLAY=:99.0
1418
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- +extension RANDR :99 -ac -screen 0 1280x1024x16
15-
- sudo /etc/init.d/xvfb start
1619

1720
install:
1821
- python setup.py install

0 commit comments

Comments
 (0)