forked from Asvel/pygs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (38 loc) · 1.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: python
sudo: required
dist: trusty
python:
- "2.7"
- "3.4"
env:
# We only test interpreters who have native PyQt packages
# Since travis is still running Ubuntu 12.04, PyQt5 cannot be tested yet
- TOXENV=py27-pyqt4
- TOXENV=py27-pyqt5
- TOXENV=py34-pyqt4
- TOXENV=py34-pyqt5
matrix:
exclude:
# exclude redundant environments
- python: "2.7"
env: TOXENV=py34-pyqt4
- python: "2.7"
env: TOXENV=py34-pyqt5
- python: "3.4"
env: TOXENV=py27-pyqt4
- python: "3.4"
env: TOXENV=py27-pyqt5
virtualenv:
system_site_packages: true
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- sudo apt-get install -qq python-sip python-sip-dev --fix-missing
- sudo apt-get install -qq python-qt4-dev pyqt4-dev-tools --fix-missing
- sudo apt-get install -qq pyqt5-dev pyqt5-dev-tools --fix-missing
- sudo apt-get install -qq python3-sip python3-sip-dev --fix-missing
- sudo apt-get install -qq python3-pyqt4 python3-pyqt5 --fix-missing
- pip install --quiet tox;
script:
- tox;