summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-06 00:50:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-06 00:51:09 +0100
commitcffb77e25fd93e76212ed1f00727e963861cc1e1 (patch)
tree7fe99b93a9963bcc07f5042c8cc8ff3ec9bc4709
parent0936ecd0ee5e3e28c098fefc9e2c0e6847cb7a82 (diff)
downloadcurl-bagder/hyper-capi.tar.gz
travis: adapt to Hyper build changebagder/hyper-capi
-rwxr-xr-xscripts/travis/before_script.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh
index 162bbaf41..c82a97c62 100755
--- a/scripts/travis/before_script.sh
+++ b/scripts/travis/before_script.sh
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -109,7 +109,7 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$HYPER" ]; then
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cd $HOME/hyper
- cargo build -v --no-default-features --features ffi
+ RUSTFLAGS="--cfg hyper_unstable_ffi" cargo build --features client,http1,http2,ffi
fi
if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then