From 59f4aba5b964e3d1da076b12e0e2c5575374f481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Wed, 31 Oct 2018 11:18:20 +0100 Subject: [PATCH] ci: when installing rust-toolchain-installer-master, install it in debug mode to save some time in ci. the compiletime optimizations probably take longer than the speedup we get when executing the optimized binary vs debug build. --- .travis.yml | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75b45c9db40..50967e4b906 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,7 @@ matrix: script: - | rm rust-toolchain - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed" + cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed" RUSTC_HASH=$(git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}') travis_retry rustup-toolchain-install-master -f -n master $RUSTC_HASH rustup default master diff --git a/appveyor.yml b/appveyor.yml index fb0b326c713..c852cd8232e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,7 +21,7 @@ install: - git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt - set /p RUSTC_HASH=