summaryrefslogtreecommitdiff
path: root/scripts/travis/before_script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/travis/before_script.sh')
-rwxr-xr-xscripts/travis/before_script.sh9
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