switch to clang 3.8 & ignore sort oder of includes
This commit is contained in:
parent
c5ad20bf50
commit
a40d7d928f
@ -8,3 +8,4 @@ IndentWidth: 4
|
|||||||
PointerBindsToType: false
|
PointerBindsToType: false
|
||||||
ColumnLimit: 0
|
ColumnLimit: 0
|
||||||
SpaceBeforeParens: ControlStatements
|
SpaceBeforeParens: ControlStatements
|
||||||
|
SortIncludes: false
|
||||||
|
@ -17,9 +17,9 @@ addons:
|
|||||||
# xmlto pulls in a2x which we need for generating manpages from asciidoc.
|
# xmlto pulls in a2x which we need for generating manpages from asciidoc.
|
||||||
- xmlto
|
- xmlto
|
||||||
- libcap2-bin
|
- libcap2-bin
|
||||||
- clang-format-3.5
|
- clang-format-3.8
|
||||||
- libllvm3.5
|
- libllvm3.5
|
||||||
script:
|
script:
|
||||||
- make -j
|
- 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
|
- make test
|
||||||
|
Loading…
Reference in New Issue
Block a user