[U-Boot] [PATCH 4/8] travis-ci: Do not make buildman warnings fatal
Tom Rini
trini at konsulko.com
Thu Oct 20 21:26:02 CEST 2016
We currently will always see a number of warnings due to device tree
issues. These (and other warnings) should not make the build be marked
as failure so catch exit status 129 specifically and return 0 in that
case.
Cc: Heiko Schocher <hs at denx.de>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
.travis.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 2f1d05d443f5..d93efe02b0b1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -69,8 +69,15 @@ script:
- if [[ "${TEST_CMD}" != "" ]]; then
${TEST_CMD};
fi
+ # Exit code 129 means warnings only.
- if [[ "${BUILDMAN}" != "" ]]; then
+ set +e;
tools/buildman/buildman ${BUILDMAN};
+ if [[ "$?" == "0" || "$?" == "129" ]]; then
+ exit 0;
+ else
+ exit $?;
+ fi
fi
matrix:
--
1.9.1
More information about the U-Boot
mailing list