diff --git a/.travis.yml b/.travis.yml index 112c531a7..16b0a2ed3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,8 +28,7 @@ install: sudo apt-add-repository -y ppa:beineri/opt-qt58-trusty; sudo apt-get update -qq; sudo apt-get install -qq qt58tools qt58script qt58webengine qt58webchannel qt58declarative qt58x11extras; - fi - if [[ "$QT" == "qt59" ]]; then + elif [[ "$QT" == "qt59" ]]; 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;