From b3e0942bc957575bab6a47c792396774aad82a3c Mon Sep 17 00:00:00 2001 From: Matt Ickstadt Date: Thu, 26 Jul 2018 13:18:33 -0500 Subject: [PATCH] Fix travis deploy out of disk space error --- ci/before_deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index ff2a3452..e3beb1f1 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -15,6 +15,9 @@ main() { ;; esac + # This will slow down the build, but is necessary to not run out of disk space + cargo clean + cargo rustc --bin mdbook --target $TARGET --release -- -C lto cp target/$TARGET/release/mdbook $stage/