diff options
author | Etienne Samson <samson.etienne@gmail.com> | 2018-03-29 22:14:15 +0200 |
---|---|---|
committer | Etienne Samson <samson.etienne@gmail.com> | 2018-04-11 21:02:43 +0200 |
commit | 10aff3d5236c390155d247c9c366a9e4ff133825 (patch) | |
tree | 8966aca1510aac1faaf0cb9ee6db102dffe3003c /script | |
parent | 54554757c0595f5b3705f15d1212b34984bb35d1 (diff) | |
download | libgit2-10aff3d5236c390155d247c9c366a9e4ff133825.tar.gz |
travis: just grab what we need from mbedtls
Diffstat (limited to 'script')
-rwxr-xr-x | script/install-deps-linux.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/install-deps-linux.sh b/script/install-deps-linux.sh index c084ca2e7..68b3cc275 100755 --- a/script/install-deps-linux.sh +++ b/script/install-deps-linux.sh @@ -3,9 +3,8 @@ set -x if [ "$MBEDTLS" ]; then - git clone https://github.com/ARMmbed/mbedtls.git ./deps/mbedtls + git clone --depth 10 --single-branch --branch mbedtls-2.6.1 https://github.com/ARMmbed/mbedtls.git ./deps/mbedtls cd ./deps/mbedtls - git checkout mbedtls-2.6.1 cmake -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF . cmake --build . |