Browse Source

Travis: Use newer clang-format

Stefan Profanter 5 years ago
parent
commit
238f539666
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/travis/travis_linux_script.sh

+ 1 - 1
tools/travis/travis_linux_script.sh

@@ -134,7 +134,7 @@ if ! [ -z ${CLANG_FORMAT+x} ]; then
     echo "=============== DIFFERENCE - START =================\n"
     # We want to get colored diff output into the variable
     git config color.diff always
-    $LOCAL_PKG/bin/git-clang-format --style=file --diff $TRAVIS_BRANCH
+    $LOCAL_PKG/bin/git-clang-format --binary=clang-format-6.0 --style=file --diff $TRAVIS_BRANCH
     echo "\n============= DIFFERENCE - END ===================="
 
     echo -en 'travis_fold:start:script.clang-format\\r'