Skip to content

Commit

Permalink
travis: allow formatting job to fail instead of falsely reporting passed
Browse files Browse the repository at this point in the history
  • Loading branch information
yenatch committed Jul 5, 2017
1 parent 86a4a2c commit d5f7232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ matrix:
script:
- ./build_tools.sh
- make -j2 compare_ruby_de
allow_failures:
- env: _="Formatting"
2 changes: 1 addition & 1 deletion .travis/check-git-clang-format-output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d5f7232

Please sign in to comment.