From fab22526469a1a87ca248e54fe371cbfbf009cd4 Mon Sep 17 00:00:00 2001 From: Gennadiy Civil Date: Wed, 29 Aug 2018 21:58:47 -0400 Subject: [PATCH] Changing clang tp 3.9 as 3.7 no longer works on Travis --- ci/env-linux.sh | 2 +- ci/env-osx.sh | 2 +- ci/install-linux.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/env-linux.sh b/ci/env-linux.sh index 9086b1f9..37800d6a 100755 --- a/ci/env-linux.sh +++ b/ci/env-linux.sh @@ -37,5 +37,5 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ]; then if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi + if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.9" CC="clang-3.9"; fi fi diff --git a/ci/env-osx.sh b/ci/env-osx.sh index 31c88357..127a969b 100755 --- a/ci/env-osx.sh +++ b/ci/env-osx.sh @@ -36,5 +36,5 @@ # TODO() - we can check if this is being sourced using $BASH_VERSION and $BASH_SOURCE[0] != ${0}. if [ "${TRAVIS_OS_NAME}" = "linux" ]; then - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi + if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.9" CC="clang-3.9"; fi fi diff --git a/ci/install-linux.sh b/ci/install-linux.sh index 02a19439..05e2cb28 100755 --- a/ci/install-linux.sh +++ b/ci/install-linux.sh @@ -41,7 +41,7 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | \ sudo tee /etc/apt/sources.list.d/bazel.list curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - - sudo apt-get update && sudo apt-get install -y bazel gcc-4.9 g++-4.9 clang-3.7 + sudo apt-get update && sudo apt-get install -y bazel gcc-4.9 g++-4.9 clang-3.9 elif [ "${CXX}" = "clang++" ]; then # Use ccache, assuming $HOME/bin is in the path, which is true in the Travis build environment. ln -sf /usr/bin/ccache $HOME/bin/${CXX};