summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-03-29 22:14:15 +0200
committerEtienne Samson <samson.etienne@gmail.com>2018-04-11 21:02:43 +0200
commit10aff3d5236c390155d247c9c366a9e4ff133825 (patch)
tree8966aca1510aac1faaf0cb9ee6db102dffe3003c /script
parent54554757c0595f5b3705f15d1212b34984bb35d1 (diff)
downloadlibgit2-10aff3d5236c390155d247c9c366a9e4ff133825.tar.gz
travis: just grab what we need from mbedtls
Diffstat (limited to 'script')
-rwxr-xr-xscript/install-deps-linux.sh3
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 .