summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-28 21:34:40 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-28 21:34:40 +0300
commitb67024149cb0f838e44d9ab0973f8d8aefeb5030 (patch)
tree52632e319820471ff036de7b2fede9749305c9e8 /.ci
parentAdd Qt5Svg dependency (diff)
downloadnheko-b67024149cb0f838e44d9ab0973f8d8aefeb5030.tar.xz
Install qt5-svg in travis
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