From: Michael Stapelberg Date: Mon, 23 Mar 2015 08:21:06 +0000 (+0100) Subject: fix travis config with regards to clang-format X-Git-Tag: 4.10.1~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=658d106fcec9d166ea87fd7318339bec0350c10f;p=i3%2Fi3 fix travis config with regards to clang-format --- diff --git a/.travis.yml b/.travis.yml index 5876ae62..ebabbfaf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)