Update .travis.yml

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

View File

@ -31,6 +31,8 @@ install:
sudo apt-get update
# Xvfb / window manager
sudo apt-get install -y xvfb herbstluftwm
export DISPLAY=:99.0
sleep 3
elif [ $TRAVIS_OS_NAME = "osx" ]; then
brew cask install xquartz
fi
@ -44,7 +46,7 @@ before_script:
- sleep 1
script:
- xvfb-run pytest
- pytest
#after_script:
#- |