switch to clang 3.8 & ignore sort oder of includes

This commit is contained in:
Felix Buehler 2018-07-08 13:44:02 +02:00
parent c5ad20bf50
commit a40d7d928f
2 changed files with 3 additions and 2 deletions

View File

@ -8,3 +8,4 @@ IndentWidth: 4
PointerBindsToType: false
ColumnLimit: 0
SpaceBeforeParens: ControlStatements
SortIncludes: false

View File

@ -17,9 +17,9 @@ addons:
# xmlto pulls in a2x which we need for generating manpages from asciidoc.
- xmlto
- libcap2-bin
- clang-format-3.5
- clang-format-3.8
- libllvm3.5
script:
- make -j
- clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
- clang-format-3.8 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
- make test