Skip to content

Commit 509a496

Browse files
author
Martin Müllenhaupt
committed
travis: try to enable X server before test, maybe QApplication crashes otherwise
1 parent 7efff15 commit 509a496

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ env:
1010
install:
1111
- sudo apt-get update
1212
- sudo apt-get install -y python-qt4 nuitka python-crypto python-rsa python-pytest
13+
before_script:
14+
- "export DISPLAY=:99.0"
15+
- "sh -e /etc/init.d/xvfb start"
16+
- sleep 3 # give xvfb some time to start
1317
script:
1418
- py.test
1519
- sed -i "s,13731707816857396218511477189051880183926672022487649441793167544537,$n,g"

0 commit comments

Comments
 (0)