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" ]] &&
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
}