Revert "sanitycheck: fail on check_compliance issues"

This reverts commit 43398eb240.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-09-23 16:35:12 -04:00
parent ba4643b778
commit d5d902a140
1 changed files with 1 additions and 5 deletions

View File

@ -52,7 +52,7 @@ build:
cp doc/_build/doc.warnings doc.warnings
fi;
echo "- Verify commit message, coding style, doc build";
CC_FAILED=$(./scripts/ci/check-compliance.py --commits ${COMMIT_RANGE} || true)
./scripts/ci/check-compliance.py --commits ${COMMIT_RANGE} || true;
fi;
- >
if [ "$IS_PULL_REQUEST" = "true" ]; then
@ -71,10 +71,6 @@ build:
- ./scripts/sanitycheck ${SANITYCHECK_OPTIONS} --load-tests test_file.txt --subset ${MATRIX_BUILD}/${MATRIX_BUILDS} || ./scripts/sanitycheck ${SANITYCHECK_OPTIONS_RETRY} || ./scripts/sanitycheck ${SANITYCHECK_OPTIONS_RETRY}
- rm test_file.txt
- ccache -s
- if [ "$MATRIX_BUILD" = "5" -a "${CC_FAILED}" != "0" ]; then
echo "compliance check failed";
exit 1;
fi;
on_failure:
- >
if [ -f "$HOME/.cache/zephyr/ToolchainCapabilityDatabase.cmake" ]; then