From 7b0f760a9a1cf0ce1f22cc17977b48b9b852a049 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 27 Aug 2018 10:46:30 +0200 Subject: [PATCH] Update Travis to use clang-format-8 after LLVm release LLVM 7.0 was branched from ToT because it is going to be released soon. This means that the repo we use to get clang-format now is LLVM 8.0 so we update to clang-format-8. We cannot add the LLVM 7.0 specific repo because it isn't in the Travis APT source whitelist yet. Opened an issue to add to the whitelist: https://github.com/travis-ci/apt-source-whitelist/issues/386 Change-Id: I30b1cbf3ab5567bfa7fa3073e27eee5fcf3d1785 --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2e64bc109a..754d5f5a46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ addons: sources: # PPA for clang 6.0 - llvm-toolchain-trusty-6.0 - # PPA for clang-format 7 + # PPA for clang-format 8 - llvm-toolchain-trusty # PPA for a more recen libstdc++ - ubuntu-toolchain-r-test @@ -44,7 +44,7 @@ addons: # Required dependency for GLFW on Linux - xorg-dev # Format using the latest and greatest - - clang-format-7 + - clang-format-8 before_install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi @@ -72,4 +72,4 @@ script: - cd .. # Lint - - if [ "$TRAVIS_OS_NAME" == "linux" ]; then ./scripts/travis_lint_format.sh clang-format-7; fi + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then ./scripts/travis_lint_format.sh clang-format-8; fi