1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-01-03 13:45:49 +00:00

Update .travis.yml

This commit is contained in:
Manuel Riel 2018-11-20 14:35:00 +08:00 committed by GitHub
parent 26201e7cde
commit 639317b18f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ install:
# Xvfb / window manager # Xvfb / window manager
sudo apt-get install -y xvfb herbstluftwm sudo apt-get install -y xvfb herbstluftwm
export DISPLAY=:99.0 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 sleep 3
elif [ $TRAVIS_OS_NAME = "osx" ]; then elif [ $TRAVIS_OS_NAME = "osx" ]; then
brew cask install xquartz brew cask install xquartz
@ -43,7 +44,7 @@ install:
before_script: before_script:
- if [ $TRAVIS_OS_NAME = "linux" ]; then (herbstluftwm )& fi - if [ $TRAVIS_OS_NAME = "linux" ]; then (herbstluftwm )& fi
- if [ $TRAVIS_OS_NAME = "osx" ]; then (sudo Xvfb :99 -ac -screen 0 1024x768x8 )& fi - if [ $TRAVIS_OS_NAME = "osx" ]; then (sudo Xvfb :99 -ac -screen 0 1024x768x8 )& fi
- sleep 1 - sleep 3
script: script:
- pytest - pytest