mirror of
https://github.com/pret/pokeruby.git
synced 2025-03-03 10:27:04 +00:00
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:
commit
be05c5bd52
@ -55,3 +55,5 @@ matrix:
|
||||
script:
|
||||
- ./build_tools.sh
|
||||
- make -j2 compare_ruby_de
|
||||
allow_failures:
|
||||
- env: _="Formatting"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user