Skip to content

Commit

Permalink
move QApplication check to before_script; include libdbus/libxkbcommon
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Feb 4, 2020
1 parent 0335e54 commit f8c6593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ before_install:
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt update
sudo apt install xvfb herbstluftwm -y
sudo apt install xvfb herbstluftwm libdbus-1-3 libxkbcommon-x11-0 -y
fi
install:
Expand All @@ -54,11 +54,11 @@ install:
- python -m pip install --upgrade setuptools wheel
- python -m pip install PySide2
- python -m pip install pytest-xvfb
- python -c "from PySide2.QtWidgets import QApplication; QApplication([])"

before_script:
- "herbstluftwm &"
- sleep 1
- python -c "from PySide2.QtWidgets import QApplication; QApplication([])"

script:
- python setup.py tests

0 comments on commit f8c6593

Please sign in to comment.