Skip to content
Snippets Groups Projects
Commit 0c51f44b authored by inso's avatar inso
Browse files

Restart xvfb before tests

parent 1ed8f800
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,14 @@ ...@@ -3,6 +3,14 @@
eval "$(pyenv init -)" eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)" eval "$(pyenv virtualenv-init -)"
if [ $TRAVIS_OS_NAME == "linux" ]
then
export XVFBARGS="-screen 0 1280x1024x24"
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb restart
sleep 3
fi
cd $HOME/build/ucoin-io/sakia cd $HOME/build/ucoin-io/sakia
pyenv activate sakia-env pyenv activate sakia-env
coverage run --source=sakia.core,sakia.gui,sakia.models setup.py test coverage run --source=sakia.core,sakia.gui,sakia.models setup.py test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment