summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-18 17:03:05 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-18 17:03:58 +0300
commit2db77173858016051843c2270f6cce14f4e25193 (patch)
treecddccdf560a3ac87691b86def408542dd4a2aa5d /.ci
parentcreate zh_CN translation (#442) (diff)
downloadnheko-2db77173858016051843c2270f6cce14f4e25193.tar.xz
Install libsodium 1.0.16
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/install.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/.ci/install.sh b/.ci/install.sh
index 6019e0a2..ec03b363 100755
--- a/.ci/install.sh
+++ b/.ci/install.sh
@@ -27,7 +27,14 @@ if [ $TRAVIS_OS_NAME == linux ]; then
     wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh
     sudo sh cmake-3.12.2-Linux-x86_64.sh  --skip-license  --prefix=/usr/local
 
-    sudo add-apt-repository -y ppa:chris-lea/libsodium
+    mkdir -p build-libsodium
+    pushd build-libsodium
+    curl -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.16.tar.gz -o libsodium-1.0.16.tar.gz
+    tar xfz libsodium-1.0.16.tar.gz 
+    cd libsodium-1.0.16/
+    ./configure && make && make check && sudo make install
+    popd
+
     sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty
     sudo apt-get update -qq
     sudo apt-get install -qq -y \
@@ -35,6 +42,5 @@ if [ $TRAVIS_OS_NAME == linux ]; then
         qt${QT_PKG}tools \
         qt${QT_PKG}svg \
         qt${QT_PKG}multimedia \
-        liblmdb-dev \
-        libsodium-dev
+        liblmdb-dev
 fi