From: Tom Rini Date: Thu, 20 Oct 2016 15:05:57 +0000 (-0400) Subject: travis-ci: Do not make buildman warnings fatal X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4899210c737fb51e2e4207e49b1df8ac303e52cb;p=u-boot.git 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 Acked-by: Stephen Warren Reviewed-by: Heiko Schocher --- diff --git a/.travis.yml b/.travis.yml index 2f1d05d443..d93efe02b0 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: