Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Disable clang-tidy when no C/C++ files has been modified.
- Loading branch information
Showing
with
5 additions
and
0 deletions.
-
+5
−0
util/travis/clangtidy.sh
|
|
@@ -1,3 +1,8 @@ |
|
|
#!/bin/bash -e |
|
|
. util/travis/common.sh |
|
|
|
|
|
needs_compile || exit 0 |
|
|
|
|
|
if hash clang-tidy-5.0 2>/dev/null; then |
|
|
CLANG_TIDY=clang-tidy-5.0 |
|
|
else |
|
|