Skip to content

Commit

Permalink
travis: add job using Hyper that only runs test case 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Nov 13, 2020
1 parent 17a60a9 commit 7aca90c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Expand Up @@ -113,6 +113,16 @@ jobs:
- libpsl-dev
- libbrotli-dev
- libzstd-dev
- env:
- T=debug HYPER="yes" C="--with-hyper=$HOME/hyper" LD_LIBRARY_PATH=$HOME/hyper/target/debug:/usr/local/lib TFLAGS=1
addons:
apt:
<<: *common_apt
packages:
- *common_packages
- libpsl-dev
- libbrotli-dev
- libzstd-dev
- env:
- T=novalgrind LIBRESSL=yes C="--with-ssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
Expand Down
9 changes: 9 additions & 0 deletions scripts/travis/before_script.sh
Expand Up @@ -103,6 +103,15 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$LIBRESSL" ]; then
make install
fi

if [ "$TRAVIS_OS_NAME" = linux -a "$HYPER" ]; then
cd $HOME
git clone --depth=1 -b hyper-capi https://github.com/hyperium/hyper.git
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cd $HOME/hyper
cargo build -v --no-default-features --features ffi
fi

if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
cd $HOME
git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git
Expand Down

0 comments on commit 7aca90c

Please sign in to comment.