aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2019-04-15 23:57:29 +0000
committerGitHub <noreply@github.com>2019-04-15 23:57:29 +0000
commitfc6076e20cf1f4dfe67b1b8187fdca52ee254aa6 (patch)
tree21c9ef8068abff4c1d15bcc405f0892675f6d0cb
parentFix port (diff)
downloadminiserve-fc6076e20cf1f4dfe67b1b8187fdca52ee254aa6.tar.gz
miniserve-fc6076e20cf1f4dfe67b1b8187fdca52ee254aa6.zip
Run cargo test on travis
-rw-r--r--.travis.yml4
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...