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.
This commit is contained in:
Edward Thomson
2017-07-23 03:41:52 +01:00
parent e056862153
commit f031e20b51
2 changed files with 10 additions and 11 deletions

8
script/install-deps-linux.sh Executable file
View File

@@ -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