Merge pull request #641 from matthiasbeyer/travis-small-enhancements
Travis small enhancements
This commit is contained in:
commit
bb3e5023c9
1 changed files with 7 additions and 4 deletions
11
.travis.yml
11
.travis.yml
|
@ -34,10 +34,13 @@ script:
|
||||||
[[ -d "$1" ]] &&
|
[[ -d "$1" ]] &&
|
||||||
cd "$1" &&
|
cd "$1" &&
|
||||||
{
|
{
|
||||||
travis-cargo -q build &&
|
{
|
||||||
travis-cargo -q test &&
|
if [[ $(echo "$1" | grep lib) ]]; then
|
||||||
travis-cargo -q bench &&
|
travis-cargo -q test
|
||||||
travis-cargo --only stable doc &&
|
else
|
||||||
|
travis-cargo -q build
|
||||||
|
fi
|
||||||
|
} &&
|
||||||
cd -
|
cd -
|
||||||
} || exit 1
|
} || exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue