File tree Expand file tree Collapse file tree 2 files changed +6
-42
lines changed
Expand file tree Collapse file tree 2 files changed +6
-42
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,12 @@ matrix:
1919 python : ' 3.6'
2020 script : source $TRAVIS_BUILD_DIR/.travis/build_doc.sh
2121 - python : ' 3.6'
22- env : UPLOAD_COVERAGE=true
22+ env :
23+ - UPLOAD_COVERAGE=true
24+ - PYQT_DEPS="PyQt5~=5.12.0 PyQtWebengine~=5.12.0"
2325 - python : ' 3.7'
26+ env :
27+ - PYQT_DEPS="PyQt5~=5.14.0 PyQtWebengine~=5.14.0"
2428 fast_finish : true
2529
2630cache :
Original file line number Diff line number Diff line change 1- if [ ! " $PYQT4 " ]; then
2- foldable pip install sip ' pyqt5!=5.10,<5.14' # 5.10 exhibits QTBUG-65235
3- # PyQt >= 5.12 distributes WebEngine separately
4- foldable pip install ' pyqtwebengine<5.14'
5- return $? ;
6- fi
7-
8-
9- PYQT=$TRAVIS_BUILD_DIR /pyqt
10-
11- SIP_VERSION=4.16.9
12- PYQT_VERSION=4.11.4
13-
14- if [ ! " $( ls $PYQT ) " ]; then
15- mkdir -p $PYQT
16- cd $PYQT
17-
18- wget -O sip.tar.gz http://sourceforge.net/projects/pyqt/files/sip/sip-$SIP_VERSION /sip-$SIP_VERSION .tar.gz
19- mkdir -p sip
20- tar xzf sip.tar.gz -C sip --strip-component=1
21-
22- wget -O PyQt.tar.gz http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$PYQT_VERSION /PyQt-x11-gpl-$PYQT_VERSION .tar.gz
23- mkdir -p PyQt
24- tar xzf PyQt.tar.gz -C PyQt --strip-components=1
25-
26- cd $PYQT /sip
27- python configure.py -e $PYQT /include
28- make
29- make install
30-
31- cd $PYQT /PyQt
32- pwd
33- python configure.py --confirm-license --no-designer-plugin
34- make
35- fi
36-
37- cd $PYQT /sip
38- make install
39-
40- cd $PYQT /PyQt
41- make install
1+ foldable pip install ${PYQT_DEPS}
You can’t perform that action at this time.
0 commit comments