Skip to content

Commit

Permalink
ci: remove cargo clean
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
BurntSushi committed Feb 11, 2018
1 parent 96ee448 commit c4a5bc0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c4a5bc0

Please sign in to comment.