mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
travis: Attempt to fix xvfb
This commit is contained in:
parent
d3cebaad54
commit
d7cd8a75bc
|
@ -6,9 +6,13 @@ virtualenv:
|
|||
system_site_packages: true
|
||||
services:
|
||||
- xvfb
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- xvfb
|
||||
before_install:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||||
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
|
||||
- sleep 3 # Give xvfb some time to start
|
||||
install:
|
||||
|
@ -18,4 +22,4 @@ install:
|
|||
script: nosetests
|
||||
|
||||
# Cache the pip dependencies
|
||||
cache: pip
|
||||
cache: pip
|
||||
|
|
Loading…
Reference in a new issue