summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-08-07 20:37:01 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-08-07 20:37:01 +0200
commit04d647f2188a84973a98790fd4a8c020b3e24127 (patch)
tree250bf09f41c2bc3dea660b5f4da43d0a7877630e /.travis.yml
parent1ca1df3e36895d4234e65b091b723d0d163da65d (diff)
Actually we can build libs with cargo-test and bins with cargo-build
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 81d79be1..c992d7ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,12 +34,11 @@ script:
[[ -d "$1" ]] &&
cd "$1" &&
{
- travis-cargo -q build &&
{
if [[ $(echo "$1" | grep lib) ]]; then
travis-cargo -q test
else
- true
+ travis-cargo -q build
fi
} &&
cd -