summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-10-20 15:05:57 (GMT)
committerTom Rini <trini@konsulko.com>2016-10-24 12:06:27 (GMT)
commit4899210c737fb51e2e4207e49b1df8ac303e52cb (patch)
tree0231ff66838f79f2cf8c0246e4767981543c6b66 /.travis.yml
parent4084c7fa6b8dc4968db9cfe4718832a2fbae7ebc (diff)
downloadu-boot-4899210c737fb51e2e4207e49b1df8ac303e52cb.tar.xz
travis-ci: Do not make buildman warnings fatal
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. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2f1d05d..d93efe0 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: