From 17016090e38cc44e58517129278c28dd7943b4cc Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Mon, 9 Oct 2017 11:32:06 +0200 Subject: Travis: Update clang from 4.0 to 5.0 (#6467) * Update clang from 4.0 to 5.0 --- util/travis/common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/travis/common.sh') diff --git a/util/travis/common.sh b/util/travis/common.sh index d040f639f..949540967 100644 --- a/util/travis/common.sh +++ b/util/travis/common.sh @@ -13,9 +13,9 @@ set_linux_compiler_env() { elif [[ "${COMPILER}" == "clang-3.6" ]]; then export CC=clang-3.6 export CXX=clang++-3.6 - elif [[ "${COMPILER}" == "clang-4.0" ]]; then - export CC=clang-4.0 - export CXX=clang++-4.0 + elif [[ "${COMPILER}" == "clang-5.0" ]]; then + export CC=clang-5.0 + export CXX=clang++-5.0 fi } @@ -45,7 +45,7 @@ TRIGGER_COMPILE_PATHS="src/.*\.(c|cpp|h)|CMakeLists.txt|cmake/Modules/|util/trav needs_compile() { RANGE="$TRAVIS_COMMIT_RANGE" - if [[ "$(git diff --name-only $RANGE -- 2>/dev/null)" == "" ]]; then + if [[ "$(git diff --name-only $RANGE -- 2>/dev/null)" == "" ]]; then RANGE="$TRAVIS_COMMIT^...$TRAVIS_COMMIT" echo "Fixed range: $RANGE" fi -- cgit v1.2.3