Only call travis-cargo test for lib crates

This commit is contained in:
Matthias Beyer 2016-08-07 17:13:52 +02:00
parent 8c84f2ce5f
commit 1ca1df3e36

View file

@ -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
}