]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
travis-ci: don't invoke exit on success
authorStephen Warren <swarren@nvidia.com>
Wed, 26 Oct 2016 17:05:35 +0000 (11:05 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 29 Oct 2016 02:10:44 +0000 (22:10 -0400)
Invoking exit prevents any subsequent build commands from running, and
future patches will add extra commands.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
.travis.yml

index 6e72e0bb233fe3a1b13713cc77d261a2d6ea4d60..a537f0e34dd3ad16a223094800c516b63db74a51 100644 (file)
@@ -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