Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disable clang-tidy when no C/C++ files has been modified.
  • Loading branch information
nerzhul committed Jun 10, 2018
1 parent 2e18a2d commit fb4e4f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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
Expand Down

0 comments on commit fb4e4f0

Please sign in to comment.