From 2c871eb47ab24f83139662a9dc4672d9362bb0ef Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 8 Jun 2017 20:33:00 +0200 Subject: [PATCH] Travis: Add Qt 5.9 linux builds --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4b8fddd96..e128d1733 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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";