From c4a5bc06c5e445015a422398cfb69a34815390d4 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 10 Feb 2018 22:08:58 -0500 Subject: ci: remove `cargo clean` We aren't using Travis' Cargo cache any more (because it actually seems to slow down builds), so there's no reason to clean out old build outputs. Also, even if we were using the Cargo cache, our approach to finding the correct Cargo OUT_DIR has become more robust, so we still wouldn't need to remove the old build outputs. --- ci/script.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/ci/script.sh b/ci/script.sh index c0227c56..4e7feaa4 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -7,9 +7,6 @@ set -ex . "$(dirname $0)/utils.sh" main() { - # Travis sometimes caches the target directory, which makes testing the - # output of cargo a little trickier. So just wipe it. - cargo clean # Test a normal debug build. cargo build --target "$TARGET" --verbose --all -- cgit v1.2.3