Update .travis.yml

This commit is contained in:
Manuel Riel 2018-11-20 14:56:06 +08:00 committed by GitHub
parent 9ab96b9df9
commit 30057e0e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ addons:
apt:
packages:
- xvfb
- herbstluftwm
- libssl-dev
- openssl
- libacl1-dev
@ -28,13 +29,13 @@ matrix:
dist: trusty
env:
- RUN_PYINSTALLER=true
- os: osx
env:
- RUN_PYINSTALLER=true
install:
- |
if [ $TRAVIS_OS_NAME = "linux" ]; then
sudo apt-get update
# Xvfb / window manager
sudo apt-get install -y xvfb herbstluftwm
export DISPLAY=:99.0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset
sleep 3