Merge pull request #353 from yenatch/travis-allow-fail-formatting

travis: allow formatting job to fail instead of falsely reporting passed
This commit is contained in:
yenatch 2017-07-05 21:33:22 -04:00 committed by GitHub
commit be05c5bd52
2 changed files with 3 additions and 1 deletions

View File

@ -55,3 +55,5 @@ matrix:
script:
- ./build_tools.sh
- make -j2 compare_ruby_de
allow_failures:
- env: _="Formatting"

View File

@ -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