diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2017-07-23 03:41:52 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2017-07-24 16:56:33 +0100 |
commit | f031e20b516209f19a56ef934e12fea6adec097a (patch) | |
tree | 0012a4709c24a71321c64e12addc4738caa67eb0 /script | |
parent | e0568621535869451c91e915d28a69ac7c84b8b7 (diff) | |
download | libgit2-f031e20b516209f19a56ef934e12fea6adec097a.tar.gz |
travis: build with patched libcurl
Ubuntu trusty has a bug in curl when using NTLM credentials in a proxy,
dereferencing a null pointer and causing segmentation faults. Use a
custom-patched version of libcurl that avoids this issue.
Diffstat (limited to 'script')
-rwxr-xr-x | script/install-deps-linux.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/script/install-deps-linux.sh b/script/install-deps-linux.sh new file mode 100755 index 000000000..c18b03bfe --- /dev/null +++ b/script/install-deps-linux.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +set -x + +echo "deb http://libgit2deps.edwardthomson.com trusty libgit2deps" | sudo tee -a /etc/apt/sources.list +sudo apt-key adv --keyserver pgp.mit.edu --recv 99131CD5 +sudo apt-get update -qq +sudo apt-get install -y cmake curl libcurl3 libcurl3-gnutls libcurl4-gnutls-dev libssh2-1-dev openssh-client openssh-server valgrind |