File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
+
2
3
python :
3
4
- 2.7
4
5
- 3.2
6
+
7
+ virtualenv :
8
+ system_site_packages : true
5
9
6
10
env :
7
11
- PYTEST_VERSION=2.5.2 PYTEST_QT_FORCE_PYQT=true
8
12
- PYTEST_VERSION=2.5.2 PYTEST_QT_FORCE_PYQT=false
9
13
10
- # matrix:
11
- # exclude:
12
- # - python: 3.2
13
- # env: PYTEST_VERSION=2.5.2 PYTEST_QT_FORCE_PYQT=true
14
-
15
14
install :
16
15
# PySide
17
16
- echo $TRAVIS_PYTHON_VERSION
18
17
- if [[ "$PYTEST_QT_FORCE_PYQT" == "false" && "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
19
18
- sudo apt-get install -qq python-pyside;
20
- - ln -s /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/PySide /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages -v;
21
19
- elif [[ "$PYTEST_QT_FORCE_PYQT" == "false" && "$TRAVIS_PYTHON_VERSION" == "3.2" ]]; then
22
20
- sudo apt-get install -qq python3-pyside;
23
- - ln -s /usr/lib/python3/dist-packages/PySide /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages -v;
24
- - python -c "import PySide; print(PySide.__file__)"
25
21
- fi
26
22
27
23
# PyQt4
28
24
- if [[ "$PYTEST_QT_FORCE_PYQT" == "true" && "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
29
25
- sudo apt-get install -qq python-qt4
30
- - ln -s /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/PyQt4 /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages/PyQt4 -v
31
- - ln -s /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/sip* /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages -v
32
26
- elif [[ "$PYTEST_QT_FORCE_PYQT" == "true" && "$TRAVIS_PYTHON_VERSION" == "3.2" ]]; then
33
27
- sudo apt-get install -qq python3-pyqt4
34
- - ln -s /usr/lib/python3/dist-packages/PyQt4 /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages/PyQt4 -v
35
- - ln -s /usr/lib/python3/dist-packages/sip* /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages -v
36
- - python -c "import PyQt4; print(PyQt4.__file__)"
37
28
- fi
38
29
39
30
# PyTest
You can’t perform that action at this time.
0 commit comments