Skip to content

Commit d38b5d8

Browse files
committed
Disable colour in travis diff display
1 parent 99592b3 commit d38b5d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
# Now we can do the formatting pass
2121
clang-format --version
2222
git-clang-format-3.8 "${TRAVIS_BRANCH}"
23-
git diff --color > formatted.diff
23+
git diff > formatted.diff
2424
if [[ -s formatted.diff ]] ; then
25-
echo 'Formatting error! Apply the following diff and resubmit:'
25+
echo 'Formatting error! The following diff shows the required changes'
26+
echo 'Use the raw log to get a version of the diff that preserves spacing'
2627
cat formatted.diff
2728
exit 1
2829
fi

0 commit comments

Comments
 (0)