]> git.sur5r.net Git - i3/i3/blobdiff - .travis.yml
fix travis config with regards to clang-format
[i3/i3] / .travis.yml
index 5876ae6232be72e96f3d916700b45005438a113a..ebabbfafeb14da1aa6958d99f314be8fc9851b7d 100644 (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)