Actually we can build libs with cargo-test and bins with cargo-build
This commit is contained in:
parent
1ca1df3e36
commit
04d647f218
1 changed files with 1 additions and 2 deletions
|
@ -34,12 +34,11 @@ script:
|
||||||
[[ -d "$1" ]] &&
|
[[ -d "$1" ]] &&
|
||||||
cd "$1" &&
|
cd "$1" &&
|
||||||
{
|
{
|
||||||
travis-cargo -q build &&
|
|
||||||
{
|
{
|
||||||
if [[ $(echo "$1" | grep lib) ]]; then
|
if [[ $(echo "$1" | grep lib) ]]; then
|
||||||
travis-cargo -q test
|
travis-cargo -q test
|
||||||
else
|
else
|
||||||
true
|
travis-cargo -q build
|
||||||
fi
|
fi
|
||||||
} &&
|
} &&
|
||||||
cd -
|
cd -
|
||||||
|
|
Loading…
Reference in a new issue