Permalink
Browse files

Disable clang-tidy when no C/C++ files has been modified.

  • Loading branch information...
nerzhul committed Jun 10, 2018
1 parent 2e18a2d commit fb4e4f048ea8c53d20465ee17fddbfc0ae946b74
Showing with 5 additions and 0 deletions.
  1. +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

0 comments on commit fb4e4f0

Please sign in to comment.