diff options
Diffstat (limited to 'ci/install-linux.sh')
-rwxr-xr-x | ci/install-linux.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ci/install-linux.sh b/ci/install-linux.sh index 1cb775cd..05e2cb28 100755 --- a/ci/install-linux.sh +++ b/ci/install-linux.sh @@ -41,12 +41,8 @@ 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 gcc-4.9 g++-4.9 clang-3.9 - sudo wget https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-installer-linux-x86_64.sh - sudo chmod +x bazel-0.26.1-installer-linux-x86_64.sh - sudo ./bazel-0.26.1-installer-linux-x86_64.sh - - elif [ "${CXX}" = "clang++" ]; then + 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}; ln -sf /usr/bin/ccache $HOME/bin/${CC}; |