diff --git a/scripts/travis/run-format.sh b/scripts/travis/run-format.sh index ac203f2ced4a6ae0218e36d889658b43e8da6572..a679442e0c8f45758a3eff722fd5907df3f83c90 100755 --- a/scripts/travis/run-format.sh +++ b/scripts/travis/run-format.sh @@ -15,7 +15,7 @@ cd ${SOURCE_DIR} # Check C and C++ code with clang-format echo "Checking formatting for commit range: ${COMMIT_RANGE}" -DIFF="$(./scripts/developer/git/git-clang-format -x '^thirdparty/' --diff ${COMMIT_RANGE})" +DIFF="$(./scripts/developer/git/git-clang-format -x '^(thirdparty|cmake/upstream)/' --diff ${COMMIT_RANGE})" if [ -n "${DIFF}" ] && [ "${DIFF}" != "no modified files to format" ] then echo "clang-format:"