fix travis config with regards to clang-format

This commit is contained in:
Michael Stapelberg 2015-03-23 09:21:06 +01:00
parent 33fa3284db
commit 658d106fce
1 changed files with 1 additions and 1 deletions

View File

@ -44,4 +44,4 @@ install:
script:
- make -j
- (cd testcases && xvfb-run ./complete-run.pl --parallel=1 || (cat latest/complete-run.log; false))
- clang-format-3.5 -i **/*.[ch] && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
- clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)