xilinx: Move bootmode detection to separate function
[oweals/u-boot.git] / .travis.yml
index de96b0e81d17f4bef2bb53e3f8ca2bbbd3dee757..82e3b9152375e6b77687d745f565db410c4fe04c 100644 (file)
@@ -217,7 +217,8 @@ script:
  #
  # Build a selection of boards if TEST_PY_BD is empty
  - if [[ "${BUILDMAN}" != "" ]]; then
-     tools/buildman/buildman -P -E -W ${BUILDMAN} ${OVERRIDE};
+     ret=0
+     tools/buildman/buildman -P -E -W ${BUILDMAN} ${OVERRIDE} || ret=$?;
      if [[ $ret -ne 0 ]]; then
        tools/buildman/buildman -seP ${BUILDMAN};
        exit $ret;