Fix travis deploy out of disk space error

This commit is contained in:
Matt Ickstadt 2018-07-26 13:18:33 -05:00
parent 3e998eb766
commit b3e0942bc9
1 changed files with 3 additions and 0 deletions

View File

@ -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/