From 70b5772dc45bebb5bec1efbb9195eb5a45766c1b Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Mon, 12 Nov 2018 11:07:51 +0000 Subject: [PATCH] travis: add after_failure for astyle To get to failure, we need to exit with 1 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 45b419b6a2..dcf04dcb4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -156,6 +156,8 @@ matrix: STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") files)" fi - bash -c "$STATUS" success "$STATUSM" + after_failure: + - bash -c "$STATUS" coding style failures" - env: - NAME=events