travis: use ubuntu nghttp2 package instead of build our own

Closes #6751
This commit is contained in:
Daniel Stenberg 2021-03-16 10:06:34 +01:00
parent 0785a77767
commit c44cf858f2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 1 additions and 13 deletions

View File

@ -26,7 +26,6 @@ cache:
directories:
- $HOME/wolfssl-4.7.0-stable
- $HOME/mesalink-1.0.0
- $HOME/nghttp2-1.39.2
env:
global:
@ -48,6 +47,7 @@ addons:
- python-impacket
- ninja-build
- libgsasl7-dev
- libnghttp2-dev
jobs:
include:

View File

@ -175,16 +175,4 @@ if [ $TRAVIS_OS_NAME = linux ]; then
sudo make install
fi
if [ ! -e $HOME/nghttp2-1.39.2/Makefile ]; then
cd $HOME
curl -LO https://github.com/nghttp2/nghttp2/releases/download/v1.39.2/nghttp2-1.39.2.tar.gz
tar -xzf nghttp2-1.39.2.tar.gz
cd nghttp2-1.39.2
CXX="g++-8" CC="gcc-8" CFLAGS="" LDFLAGS="" LIBS="" ./configure --disable-threads --enable-app
make
fi
cd $HOME/nghttp2-1.39.2
sudo make install
fi