From da9f1b84f76f2bc21b73c6c726cc9c9692485d0f Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Sun, 15 Oct 2017 13:13:07 +0200 Subject: [PATCH] Strip symbols from the produced binary. This reduces the filesize at no cost, since backtraces are disabled with panic=abort --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index dd2b200..ff7b67d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ script: - rustup target add x86_64-unknown-linux-musl - cargo build --release --target=x86_64-unknown-linux-musl - cargo test --release --target=x86_64-unknown-linux-musl +- strip -s target/x86_64-unknown-linux-musl/release/sausagewiki - xz -9 < target/x86_64-unknown-linux-musl/release/sausagewiki > sausagewiki.xz deploy: