travis: add after_failure for astyle

To get to failure, we need to exit with 1
pull/8711/head
Martin Kojtal 2018-11-12 11:07:51 +00:00
parent 3f9d1a9271
commit 70b5772dc4
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ matrix:
STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") files)" STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") files)"
fi fi
- bash -c "$STATUS" success "$STATUSM" - bash -c "$STATUS" success "$STATUSM"
after_failure:
- bash -c "$STATUS" coding style failures"
- env: - env:
- NAME=events - NAME=events