Skip to content

Commit

Permalink
travis-ci: Do not make buildman warnings fatal
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
  • Loading branch information
trini committed Oct 24, 2016
1 parent 4084c7f commit 4899210
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4899210

Please sign in to comment.