Browse Source

Use libsodium tarball to ensure reproducible build in Travis (#1153)

pull/1152/head
Mygod 7 years ago
committed by Max Lv
parent
commit
37594afb5d
1 changed files with 6 additions and 3 deletions
  1. 9
      .travis.yml

9
.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

Loading…
Cancel
Save