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" ]] &&
|
||||
cd "$1" &&
|
||||
{
|
||||
travis-cargo -q build &&
|
||||
travis-cargo -q test &&
|
||||
travis-cargo -q bench &&
|
||||
travis-cargo --only stable doc &&
|
||||
{
|
||||
if [[ $(echo "$1" | grep lib) ]]; then
|
||||
travis-cargo -q test
|
||||
else
|
||||
travis-cargo -q build
|
||||
fi
|
||||
} &&
|
||||
cd -
|
||||
} || exit 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue