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 6e72e0b..a537f0e 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