提交 4899210c 编写于 作者: T Tom Rini

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: NTom Rini <trini@konsulko.com>
Acked-by: NStephen Warren <swarren@nvidia.com>
Reviewed-by: NHeiko Schocher <hs@denx.de>
上级 4084c7fa
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册