Skip to content

Commit edef49b

Browse files
committed
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.
1 parent 3d85957 commit edef49b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ matrix:
133133
if [ $(cat astyle-files-changed.out | grep Formatted | wc -l) -ne 0 ]; then
134134
git --no-pager diff;
135135
echo "Please fix style issues as shown above";
136+
exit 1;
136137
else
137138
echo "Coding style check OK";
138139
fi

0 commit comments

Comments
 (0)