Ignore un-updated submodules in clang-format check.
This commit is contained in:
parent
5c9754cd80
commit
bed5e5e8e0
|
@ -140,7 +140,7 @@ clang-format:
|
||||||
script:
|
script:
|
||||||
- ./scripts/clang-format-all.sh
|
- ./scripts/clang-format-all.sh
|
||||||
# check if any files are now modified and error if yes
|
# check if any files are now modified and error if yes
|
||||||
- (if [ -n "`git diff --name-only --diff-filter=M`" ]; then echo $'\n Some files are not properly formatted. You can use "./scripts/clang-format-all.sh".\n'; git diff --diff-filter=M; false; fi)
|
- (if [ -n "`git diff --name-only --diff-filter=M --ignore-submodules`" ]; then echo $'\n Some files are not properly formatted. You can use "./scripts/clang-format-all.sh".\n'; git diff --diff-filter=M; false; fi)
|
||||||
|
|
||||||
bionic-test:
|
bionic-test:
|
||||||
<<: *test_deb_definition
|
<<: *test_deb_definition
|
||||||
|
|
Loading…
Reference in New Issue