mirror of https://github.com/ARMmbed/mbed-os.git
travis: astyle error leads to the pull request error
As our codebase is 0 styling errors, we should start treating astyle errors as pull request blockers. Time to follow our coding style.pull/8711/head
parent
3d859575d2
commit
edef49b5fd
|
@ -133,6 +133,7 @@ matrix:
|
|||
if [ $(cat astyle-files-changed.out | grep Formatted | wc -l) -ne 0 ]; then
|
||||
git --no-pager diff;
|
||||
echo "Please fix style issues as shown above";
|
||||
exit 1;
|
||||
else
|
||||
echo "Coding style check OK";
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue