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

Stephen Warren swarren at wwwdotorg.org
Wed Oct 26 19:05:35 CEST 2016


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(-)

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
-- 
2.10.1



More information about the U-Boot mailing list