Travis: Use a stable version of clang-format

This commit is contained in:
Yuri Kunde Schlesner 2016-12-03 01:10:07 -08:00
parent 018191c1f0
commit 7acc5c8f30
3 changed files with 9 additions and 4 deletions

View file

@ -12,7 +12,7 @@ fi
# Only run clang-format on Linux because we don't have 4.0 on OS X images
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
# Default clang-format points to default 3.5 version one
CLANG_FORMAT=clang-format-4.0
CLANG_FORMAT=clang-format-3.9
$CLANG_FORMAT --version
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then