File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,9 @@ matrix:
132
132
- git diff --name-only $TRAVIS_BRANCH | grep '.*\.\(h\|c\|hpp\|cpp\)' | fgrep -v -f .astyleignore | xargs -n 100 -I {} bash -c "astyle -n --options=.astylerc \"{}\"" > astyle-files-changed.out;
133
133
if [ $(cat astyle-files-changed.out | grep Formatted | wc -l) -ne 0 ]; then
134
134
git --no-pager diff;
135
- echo "Please fix style issues as shown above";
136
- exit 1;
135
+ echo "";
136
+ echo "AStyle check failed, please fix style issues as shown above";
137
+ (exit 1);
137
138
else
138
139
echo "Coding style check OK";
139
140
fi
@@ -156,9 +157,6 @@ matrix:
156
157
STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") files)"
157
158
fi
158
159
- bash -c "$STATUS" success "$STATUSM"
159
- after_failure :
160
- - bash -c "$STATUS" coding style failures"
161
-
162
160
- env :
163
161
- NAME=events
164
162
- EVENTS=events
You can’t perform that action at this time.
0 commit comments