Only call travis-cargo test for lib crates
This commit is contained in:
parent
8c84f2ce5f
commit
1ca1df3e36
1 changed files with 7 additions and 1 deletions
|
@ -35,7 +35,13 @@ script:
|
||||||
cd "$1" &&
|
cd "$1" &&
|
||||||
{
|
{
|
||||||
travis-cargo -q build &&
|
travis-cargo -q build &&
|
||||||
travis-cargo -q test &&
|
{
|
||||||
|
if [[ $(echo "$1" | grep lib) ]]; then
|
||||||
|
travis-cargo -q test
|
||||||
|
else
|
||||||
|
true
|
||||||
|
fi
|
||||||
|
} &&
|
||||||
cd -
|
cd -
|
||||||
} || exit 1
|
} || exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue