summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/install.sh4
-rwxr-xr-x.ci/script.sh1
2 files changed, 2 insertions, 3 deletions
diff --git a/.ci/install.sh b/.ci/install.sh
index 27e0609a..f81f9265 100755
--- a/.ci/install.sh
+++ b/.ci/install.sh
@@ -20,16 +20,16 @@ if [ $TRAVIS_OS_NAME == linux ]; then
 
     if [ -z "$QT_VERSION" ]; then
         QT_VERSION="592"
+        QT_PKG="59"
     fi
 
-    export QT_PKG=${QT_VERSION:0:2}
-
     sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty
     sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
     sudo apt-get update -qq
     sudo apt-get install -qq -y \
         qt${QT_PKG}base \
         qt${QT_PKG}tools \
+        qt${QT_PKG}svg \
         qt${QT_PKG}multimedia \
         cmake \
         liblmdb-dev
diff --git a/.ci/script.sh b/.ci/script.sh
index 227e1696..a954eba6 100755
--- a/.ci/script.sh
+++ b/.ci/script.sh
@@ -3,7 +3,6 @@
 set -ex
 
 if [ $TRAVIS_OS_NAME == linux ]; then
-    QT_PKG=${QT_VERSION:0:2}
     source /opt/qt${QT_PKG}/bin/qt${QT_PKG}-env.sh || true;
 fi