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
Martin Kojtal 2018-11-12 09:49:24 +00:00
parent 3d859575d2
commit edef49b5fd
1 changed files with 1 additions and 0 deletions

View File

@ -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