aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-10 23:28:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-16 10:11:32 +0200
commitf81bf5def751866cc4f1af782fdb29a09bd88cf4 (patch)
tree91a28b60512ae5f3282732bd59854b02f17a979d
parent68fab35c735be1c9b566c23959e06b05add94c15 (diff)
travis: add a quiche build
Closes #4207
-rw-r--r--.travis.yml31
1 files changed, 29 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index b002f7555..810ebb8f2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -101,6 +101,20 @@ matrix:
compiler: gcc
dist: xenial
env:
+ - T=novalgrind BORINGSSL=yes QUICHE="yes" C="--with-ssl=$HOME/boringssl --with-quiche=$home/quiche --enable-alt-svc" LD_LIBRARY_PATH=/home/travis/boringssl/lib:/usr/local/lib
+ - 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:
@@ -405,12 +419,25 @@ before_script:
cd .. &&
mkdir lib &&
cd lib &&
- ln -s ../build/crypto/libcrypto.so . &&
- ln -s ../build/ssl/libssl.so . &&
+ cp ../build/crypto/libcrypto.so . &&
+ cp ../build/ssl/libssl.so . &&
echo "BoringSSL lib dir: "`pwd` &&
+ cd ../build &&
+ make clean && rm -f CMakeCache.txt &&
+ CXX="g++" CC="gcc" cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on .. &&
+ make &&
export LIBS=-lpthread )
fi
- |
+ if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
+ (cd $HOME &&
+ git clone --depth=1 https://github.com/cloudflare/quiche.git &&
+ curl https://sh.rustup.rs -sSf | sh -s -- -y &&
+ source $HOME/.cargo/env &&
+ cd quiche &&
+ QUICHE_BSSL_PATH=$HOME/boringssl cargo build -v --release)
+ fi
+ - |
if [ $TRAVIS_OS_NAME = linux ]; then
if [ ! -e $HOME/wolfssl-4.0.0-stable/Makefile ]; then
(cd $HOME && \