From 74a385903045d6278e7e06d6a741af54181f0454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Tue, 7 Jan 2020 16:15:32 +0100 Subject: [PATCH] workaround for xcb issue --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e6e6457..4632a09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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