From d5f7232c1dd31ff82187acc402173fcd6e76359e Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 4 Jul 2017 20:55:59 -0400 Subject: travis: allow formatting job to fail instead of falsely reporting passed --- .travis/check-git-clang-format-output.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis/check-git-clang-format-output.sh') diff --git a/.travis/check-git-clang-format-output.sh b/.travis/check-git-clang-format-output.sh index e6acf8ced..c53efa726 100755 --- a/.travis/check-git-clang-format-output.sh +++ b/.travis/check-git-clang-format-output.sh @@ -17,5 +17,5 @@ if [ "$output" == "no modified files to format" ] || [ "$output" == "clang-forma else echo "clang-format failed:" echo "$output" | colordiff - exit 0 + exit 1 fi -- cgit v1.2.3