diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-07-04 23:03:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-07-04 23:04:06 +0200 |
commit | 84a317cf17e2ab6992f1b8e105817c5881552355 (patch) | |
tree | c96fbbd87c57b2f12bf4e166152866232289a41a | |
parent | f8dba473a8ac0644058c7c12ae9500f45e564d45 (diff) |
travis: install nghttp2 on linux builds
Closes #1642
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 8a89072b5..58205dad2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: c -sudo: false +sudo: required addons: apt: sources: @@ -11,6 +11,10 @@ addons: - lcov - clang-3.7 - valgrind + - libev-dev + - libc-ares-dev + - g++-4.8 + - libstdc++-4.8-dev matrix: include: @@ -46,6 +50,11 @@ install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update > /dev/null; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew reinstall libtool > /dev/null; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install openssl libidn rtmpdump libssh2 c-ares libmetalink libressl nghttp2; fi + - if [ $TRAVIS_OS_NAME = linux ]; then + curl -L https://github.com/nghttp2/nghttp2/releases/download/v1.24.0/nghttp2-1.24.0.tar.gz | + tar xzf - && + (cd nghttp2-1.24.0 && CXX="g++-4.8" ./configure --prefix=/usr --disable-threads --enable-app && make && sudo make install); + fi before_script: - ./buildconf |