Skip to content

Commit b789fb8

Browse files
awegrzyndberzano
authored andcommitted
Update Travis to clang-format 8 (#1898)
1 parent 9a69c6c commit b789fb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ matrix:
1313
addons:
1414
apt:
1515
sources:
16-
- llvm-toolchain-xenial-7
16+
- llvm-toolchain-xenial-8
1717
packages:
18-
- clang-format-7
18+
- clang-format-8
1919
compiler: clang
2020
- os: linux
2121
env: TOOL=doxygen
@@ -50,9 +50,9 @@ script: |
5050
elif [[ $TOOL == "clang-format" ]]; then
5151
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
5252
BASE_COMMIT=$(git rev-parse $TRAVIS_BRANCH)
53-
echo "Running clang-format-7 against branch $TRAVIS_BRANCH, with hash $BASE_COMMIT"
53+
echo "Running clang-format-8 against branch $TRAVIS_BRANCH, with hash $BASE_COMMIT"
5454
COMMIT_FILES=$(git diff --name-only $BASE_COMMIT | grep -ivE 'LinkDef|Utilities/PCG/')
55-
RESULT_OUTPUT="$(git-clang-format-7 --commit $BASE_COMMIT --diff --binary `which clang-format-7` $COMMIT_FILES)"
55+
RESULT_OUTPUT="$(git-clang-format-8 --commit $BASE_COMMIT --diff --binary `which clang-format-8` $COMMIT_FILES)"
5656
5757
for x in $COMMIT_FILES; do
5858
case $x in

0 commit comments

Comments
 (0)