travis: add CI job for Hyper build

This commit is contained in:
Daniel Stenberg 2020-12-14 14:10:33 +01:00
parent c7dd08ce58
commit 92fe66c510
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 19 additions and 0 deletions

View file

@ -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