diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-08-07 17:13:52 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-08-07 17:13:52 +0200 |
commit | 1ca1df3e36895d4234e65b091b723d0d163da65d (patch) | |
tree | 48cbdccb938c2f4719f17e8ae74280417f96af78 /.travis.yml | |
parent | 8c84f2ce5fce5f27450d019e35528c5d5393617f (diff) |
Only call travis-cargo test for lib crates
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
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 } |