From fc3bd0992adcdcb0b7d3d4906376901c282b489f Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Mon, 21 May 2018 13:50:51 +0200 Subject: [PATCH] Run tests in the debug build. Cargo has started failing to build the tests in the release configuration because tests must have panic=unwind, while the release profile is configured with panic=abort --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fa559df..7510cb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,8 @@ before_install: script: - rustup target add x86_64-unknown-linux-musl +- cargo test --target=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_OPT=-9 tar Jcf sausagewiki.tar.xz -C target/x86_64-unknown-linux-musl/release/ sausagewiki