diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-04-15 23:57:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-15 23:57:29 +0000 |
commit | fc6076e20cf1f4dfe67b1b8187fdca52ee254aa6 (patch) | |
tree | 21c9ef8068abff4c1d15bcc405f0892675f6d0cb | |
parent | Fix port (diff) | |
download | miniserve-fc6076e20cf1f4dfe67b1b8187fdca52ee254aa6.tar.gz miniserve-fc6076e20cf1f4dfe67b1b8187fdca52ee254aa6.zip |
Run cargo test on travis
-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... |