diff options
author | yenatch <yenatch@gmail.com> | 2017-07-04 20:55:59 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-07-04 20:55:59 -0400 |
commit | d5f7232c1dd31ff82187acc402173fcd6e76359e (patch) | |
tree | bd331e187a88bd5befa868549ff50f8861fd9510 | |
parent | 86a4a2cd3b7cda3b1885e53e7c9ac4d31270bd6c (diff) |
travis: allow formatting job to fail instead of falsely reporting passed
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | .travis/check-git-clang-format-output.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3d620e560..3db6ab6fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,3 +55,5 @@ matrix: script: - ./build_tools.sh - make -j2 compare_ruby_de + allow_failures: + - env: _="Formatting" 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 |