Merge pull request #641 from matthiasbeyer/travis-small-enhancements

Travis small enhancements
This commit is contained in:
Matthias Beyer 2016-08-08 09:11:01 +02:00 committed by GitHub
commit bb3e5023c9

View file

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