1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Travis: Add Qt 5.9 linux builds

This commit is contained in:
David Rosca 2017-06-08 20:33:00 +02:00
parent 9b933c1fb7
commit 2c871eb47a

View File

@ -10,6 +10,7 @@ matrix:
env:
- QT=qt58
- QT=qt59
before_install:
- export QZ_VER=2.1.99
@ -28,6 +29,11 @@ install:
sudo apt-get update -qq;
sudo apt-get install -qq qt58tools qt58script qt58webengine qt58webchannel qt58declarative qt58x11extras;
fi
if [[ "$QT" == "qt58" ]]; then
sudo apt-add-repository -y ppa:beineri/opt-qt59-trusty;
sudo apt-get update -qq;
sudo apt-get install -qq qt59tools qt59script qt59webengine qt59webchannel qt59declarative qt59x11extras;
fi
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
echo "Calling brew update...";
@ -60,6 +66,7 @@ script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
CXXFLAGS="-Wextra -Werror";
if [[ "$QT" == "qt58" ]]; then QMAKE="/opt/qt58/bin/qmake"; fi
if [[ "$QT" == "qt59" ]]; then QMAKE="/opt/qt59/bin/qmake"; fi
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
MACDEPLOYQT="macdeployqt";