diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-12-14 14:10:33 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-18 09:58:04 +0100 |
commit | 92fe66c5109211519df1ef32d752dbecc34e53c7 (patch) | |
tree | 38f61c5d2de67989d1abd252a8d17b1d85191cb1 /scripts | |
parent | c7dd08ce588a1cccd0eaf779137348d198e69b12 (diff) | |
download | curl-92fe66c5109211519df1ef32d752dbecc34e53c7.tar.gz |
travis: add CI job for Hyper build
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis/before_script.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh index 83dc1e31b..162bbaf41 100755 --- a/scripts/travis/before_script.sh +++ b/scripts/travis/before_script.sh @@ -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 |