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.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh
index 181b2e286..96825f0ab 100755
--- a/scripts/travis/before_script.sh
+++ b/scripts/travis/before_script.sh
@@ -126,9 +126,9 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/
fi
-if [ "$TRAVIS_OS_NAME" = linux -a "$RUSTLS" ]; then
+if [ "$TRAVIS_OS_NAME" = linux -a "$RUSTLS_VERSION" ]; then
cd $HOME
- git clone --depth=1 --recursive https://github.com/abetterinternet/crustls.git
+ git clone --depth=1 --recursive https://github.com/abetterinternet/crustls.git -b "$RUSTLS_VERSION"
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cargo install cbindgen