travis: Use && intead of ;

Show errors sooner and try not to hide them behind lots of other walls of text.
This commit is contained in:
Alex Crichton 2016-12-28 09:29:14 -08:00
parent 0807104c8f
commit 88429dc575

View File

@ -66,10 +66,10 @@ script:
if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_BRANCH" != "auto" ]; then
echo skipping, not a full build;
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
git submodule update --init;
git submodule update --init &&
src/ci/run.sh;
else
git submodule update --init;
git submodule update --init &&
src/ci/docker/run.sh $IMAGE;
fi