summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-08-07 17:13:52 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-08-07 17:13:52 +0200
commit1ca1df3e36895d4234e65b091b723d0d163da65d (patch)
tree48cbdccb938c2f4719f17e8ae74280417f96af78 /.travis.yml
parent8c84f2ce5fce5f27450d019e35528c5d5393617f (diff)
Only call travis-cargo test for lib crates
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e73af1c5..81d79be1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,7 +35,13 @@ script:
cd "$1" &&
{
travis-cargo -q build &&
- travis-cargo -q test &&
+ {
+ if [[ $(echo "$1" | grep lib) ]]; then
+ travis-cargo -q test
+ else
+ true
+ fi
+ } &&
cd -
} || exit 1
}