mirror of
https://github.com/borgbase/vorta
synced 2025-01-03 13:45:49 +00:00
Update .travis.yml
This commit is contained in:
parent
26201e7cde
commit
639317b18f
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue