Skip to content

Commit

Permalink
workaround for xcb issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Jan 7, 2020
1 parent 68ba08c commit 74a3859
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ before_install:
source setup-pyenv.sh
fi
# We might want to move this into the integration test script
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
# sleep 3;
# Workaround for issue with Qt integration test on xenial: https://github.com/pytest-dev/pytest-qt/issues/266#issuecomment-510035926
sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0;
fi
- python3 -V
- pip3 -V
- pip3 install --upgrade pip
Expand Down

0 comments on commit 74a3859

Please sign in to comment.