From 37594afb5d58175d2a3a8b7ae533f111584821e8 Mon Sep 17 00:00:00 2001 From: Mygod Date: Tue, 31 Jan 2017 02:13:22 -0600 Subject: [PATCH] Use libsodium tarball to ensure reproducible build in Travis (#1153) --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index bb07dea9..55f8d703 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,13 @@ language: c compiler: - gcc - clang +env: + global: + - LIBSODIUM_VER=1.0.11 before_install: - - git clone https://github.com/jedisct1/libsodium - - pushd libsodium - - ./autogen.sh + - wget https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VER.tar.gz + - tar xvf libsodium-$LIBSODIUM_VER.tar.gz + - pushd libsodium-$LIBSODIUM_VER - ./configure --prefix=/usr && make - sudo make install - popd