Skip to content

Commit 5d3a2c9

Browse files
author
Daniel Kroening
committed
fix travis
1 parent ae234e8 commit 5d3a2c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
script: |
1818
clang-format-7 --version
1919
# build a pathspec that excludes the files in .clang-format-ignore
20-
while read file ; do echo EXCLUDES+="':(top,exclude)$file' " ; done < .clang-format-ignore
21-
git-clang-format-7 --binary clang-format-7 "${TRAVIS_BRANCH}" -- $EXCLUDES
20+
while read file ; do echo EXCLUDES+=" ':(top,exclude)${file}'" ; done < .clang-format-ignore
21+
echo ${EXCLUDES}
22+
git-clang-format-7 --binary clang-format-7 "${TRAVIS_BRANCH}" -- ${EXCLUDES}
2223
git diff > formatted.diff
2324
if [[ -s formatted.diff ]] ; then
2425
echo 'Formatting error! The following diff shows the required changes'

0 commit comments

Comments
 (0)