[U-Boot] [PATCH 5/6] travis-ci: don't invoke exit on success

Heiko Schocher hs at denx.de
Thu Oct 27 08:12:57 CEST 2016


Hello Stephen,

Am 26.10.2016 um 19:05 schrieb Stephen Warren:
> From: Stephen Warren <swarren at nvidia.com>
>
> Invoking exit prevents any subsequent build commands from running, and
> future patches will add extra commands.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>   .travis.yml | 4 +---
>   1 file changed, 1 insertion(+), 3 deletions(-)

Thanks!

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko

>
> diff --git a/.travis.yml b/.travis.yml
> index 6e72e0bb233f..a537f0e34dd3 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -74,9 +74,7 @@ script:
>        set +e;
>        tools/buildman/buildman -P ${BUILDMAN};
>        ret=$?;
> -     if [[ $ret -eq 0 || $ret -eq 129 ]]; then
> -       exit 0;
> -     else
> +     if [[ $ret -ne 0 && $ret -ne 129 ]]; then
>          exit $ret;
>        fi;
>      fi
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list