diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-22 09:03:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-22 09:03:30 +0200 |
commit | 95507f1dc8c159c05b34f96f7a7baf4e8a9a4106 (patch) | |
tree | a4509a5bac447ca4d4599c729829e581d735f99d /.travis.yml | |
parent | 7037891fa3697a83fc3b2a6c8b934ff2ca0bfe36 (diff) | |
download | curl-95507f1dc8c159c05b34f96f7a7baf4e8a9a4106.tar.gz |
travis: add a build using ngtcp2 + nghttp3 (and a patched OpenSSL)
Runs no tests
Closes #4253
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 20ade5b3d..99466201a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -115,6 +115,20 @@ matrix: compiler: gcc dist: xenial env: + - T=novalgrind NGTCP2=yes C="--with-ssl=$HOME/ngbuild --with-ngtcp2=$HOME/ngbuild --with-nghttp3=$HOME/ngbuild --enable-alt-svc" NOTESTS= + - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" + addons: + apt: + sources: + - *common_sources + packages: + - *common_packages + - libpsl-dev + - libbrotli-dev + - os: linux + compiler: gcc + dist: xenial + env: - T=debug-wolfssl C="--with-wolfssl --without-ssl" - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" addons: @@ -408,6 +422,28 @@ install: before_script: - ./buildconf - | + if [ "$NGTCP2" = yes ]; then + (cd $HOME && + git clone --depth 1 -b quic-draft-22 https://github.com/tatsuhiro-t/openssl possl && + cd possl && + ./config enable-tls1_3 --prefix=$HOME/ngbuild && + make && make install_sw && + + cd .. && + git clone --depth 1 https://github.com/ngtcp2/nghttp3 + cd nghttp3 && + autoreconf -i && + ./configure --prefix=$HOME/ngbuild --enable-lib-only && + make && make install && + + cd .. && + git clone --depth 1 -b draft-22 https://github.com/ngtcp2/ngtcp2 && + cd ngtcp2 && + autoreconf -i && + ./configure PKG_CONFIG_PATH=$HOME/ngbuild/lib/pkgconfig LDFLAGS="-Wl,-rpath,$HOME/ngbuild/lib" --prefix=$HOME/ngbuild && + make && make install) + fi + - | if [ "$TRAVIS_OS_NAME" = linux -a "$BORINGSSL" ]; then (cd $HOME && git clone --depth=1 https://boringssl.googlesource.com/boringssl && |