From fc6076e20cf1f4dfe67b1b8187fdca52ee254aa6 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Tue, 16 Apr 2019 01:57:29 +0200 Subject: Run cargo test on travis --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8bbffc6..6872412 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,8 +50,8 @@ install: script: # If this is a normal, non-deployment build... - - if [[ -z $TARGET ]]; then cargo build --verbose; fi - - if [[ -n $TARGET ]]; then cargo build --verbose --release --target $TARGET; fi + - if [[ -z $TARGET ]]; then cargo build --verbose && cargo test; fi + - if [[ -n $TARGET ]]; then cargo build --verbose --release --target $TARGET && cargo test; fi before_deploy: # If this is a binary deployment... -- cgit v1.2.3