Fix travis deploy out of disk space error
This commit is contained in:
parent
3e998eb766
commit
b3e0942bc9
|
@ -15,6 +15,9 @@ main() {
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
cargo rustc --bin mdbook --target $TARGET --release -- -C lto
|
||||||
|
|
||||||
cp target/$TARGET/release/mdbook $stage/
|
cp target/$TARGET/release/mdbook $stage/
|
||||||
|
|
Loading…
Reference in New Issue