Skip to content

Commit

Permalink
Fix travis crash
Browse files Browse the repository at this point in the history
  • Loading branch information
don4get committed Jul 12, 2020
1 parent b610ea8 commit 08361ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ addons:
packages:
- x11-utils
- libxkbcommon-x11-0
# - xvfb
# - herbstluftwm

services: xvfb

Expand All @@ -15,15 +17,10 @@ branches:
only:
- master


before_install:
- sudo apt-get update
- sudo apt-get install -y xvfb herbstluftwm

install:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset"
- sleep 3
- sleep 1
- pip install tox

jobs:
Expand All @@ -47,9 +44,9 @@ jobs:
- python: 3.6
env: TOXENV=docs

before_script:
- "herbstluftwm &"
- sleep 1
#before_script:
# - "herbstluftwm &"
# - sleep 1

script:
- QT_DEBUG_PLUGINS=1 tox
1 change: 0 additions & 1 deletion requirements_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ flake8
mypy
pre-commit
pydocstyle
PyQt5-stubs==5.13.1.4
pytest
pytest-cov
pytest-mock
Expand Down

0 comments on commit 08361ce

Please sign in to comment.