Commit 16957a7f by Edward Thomson Committed by Patrick Steinhardt

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.

(cherry picked from commit f031e20b)
parent 5491d0e1
......@@ -37,7 +37,7 @@ addons:
- valgrind
dist: trusty
sudo: false
sudo: true
osx_image: xcode8.3
matrix:
......@@ -64,7 +64,7 @@ matrix:
- env: COVERITY=1
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./script/install-deps-${TRAVIS_OS_NAME}.sh; fi
- ./script/install-deps-${TRAVIS_OS_NAME}.sh
# Run the Build script and tests
script:
......
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment