]> git.sur5r.net Git - i3/i3/blobdiff - travis/check-formatting.sh
testcases: remove external AnyEvent::I3 dependency
[i3/i3] / travis / check-formatting.sh
index abdb11683961dc246d7727eaa028a64f60b7c504..ff406bea2042a3c1833e44e2d9e33aa5fb2c8d27 100755 (executable)
@@ -1,2 +1,6 @@
 #!/bin/sh
-clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
+
+set -e
+set -x
+
+clang-format-3.8 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)