Skip to content

Commit 970e142

Browse files
committed
tests: fix display, the return 10
1 parent b92d95a commit 970e142

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ python:
1010

1111
before_install:
1212
- export DISPLAY=:99.0
13-
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile
14-
--background --exec /usr/bin/Xvfb -- +extension RANDR :99 -ac -screen 0 1280x1024x16
13+
- /etc/init.d/xvfb stop
14+
- /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+
- /etc/init.d/xvfb start
1516

1617
install:
1718
- python setup.py install

0 commit comments

Comments
 (0)