diff options
-rw-r--r-- | .travis.yml | 4 |
1 files 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... |