Skip to content

Commit b64882b

Browse files
committed
Updated config to build pytest-qt on travis
1 parent f00e7df commit b64882b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ language: python
22
python:
33
- "2.7"
44
before_install:
5-
- "export DISPLAY=:99.0"
6-
- "sh -e /etc/init.d/xvfb start"
7-
- yes | sudo apt-get install python-pyside.qtcore
5+
- sudo add-apt-repository -y ppa:pyside/ppa
6+
- sudo apt-get update -qq
7+
- sudo apt-get install -qq python-pyside
8+
- export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/dist-packages/"
9+
- "export DISPLAY=:99.0"
10+
- "sh -e /etc/init.d/xvfb start"
11+
- sleep 3
812
script: py.test

0 commit comments

Comments
 (0)