-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/travis: Add PyQt 5.14 to test matrix
Also remove most of install_pyqt.sh that deals with Qt4 support
- Loading branch information
1 parent
d6feaab
commit ce74a81
Showing
2 changed files
with
9 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1 @@ | ||
if [ ! "$PYQT4" ]; then | ||
foldable pip install sip 'pyqt5!=5.10,<5.14' # 5.10 exhibits QTBUG-65235 | ||
# PyQt >= 5.12 distributes WebEngine separately | ||
foldable pip install 'pyqtwebengine<5.14' | ||
return $?; | ||
fi | ||
|
||
|
||
PYQT=$TRAVIS_BUILD_DIR/pyqt | ||
|
||
SIP_VERSION=4.16.9 | ||
PYQT_VERSION=4.11.4 | ||
|
||
if [ ! "$(ls $PYQT)" ]; then | ||
mkdir -p $PYQT | ||
cd $PYQT | ||
|
||
wget -O sip.tar.gz http://sourceforge.net/projects/pyqt/files/sip/sip-$SIP_VERSION/sip-$SIP_VERSION.tar.gz | ||
mkdir -p sip | ||
tar xzf sip.tar.gz -C sip --strip-component=1 | ||
|
||
wget -O PyQt.tar.gz http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$PYQT_VERSION/PyQt-x11-gpl-$PYQT_VERSION.tar.gz | ||
mkdir -p PyQt | ||
tar xzf PyQt.tar.gz -C PyQt --strip-components=1 | ||
|
||
cd $PYQT/sip | ||
python configure.py -e $PYQT/include | ||
make | ||
make install | ||
|
||
cd $PYQT/PyQt | ||
pwd | ||
python configure.py --confirm-license --no-designer-plugin | ||
make | ||
fi | ||
|
||
cd $PYQT/sip | ||
make install | ||
|
||
cd $PYQT/PyQt | ||
make install | ||
foldable pip install ${PYQT_DEPS} |