Skip to content
Snippets Groups Projects
Commit 4899210c authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@konsulko.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 4084c7fa
No related branches found
No related tags found
No related merge requests found
...@@ -69,8 +69,15 @@ script: ...@@ -69,8 +69,15 @@ script:
- if [[ "${TEST_CMD}" != "" ]]; then - if [[ "${TEST_CMD}" != "" ]]; then
${TEST_CMD}; ${TEST_CMD};
fi fi
# Exit code 129 means warnings only.
- if [[ "${BUILDMAN}" != "" ]]; then - if [[ "${BUILDMAN}" != "" ]]; then
set +e;
tools/buildman/buildman ${BUILDMAN}; tools/buildman/buildman ${BUILDMAN};
if [[ "$?" == "0" || "$?" == "129" ]]; then
exit 0;
else
exit $?;
fi
fi fi
matrix: matrix:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment