From e9d4d9d1fdc618a5c954aa3d9c39b43b386e8a96 Mon Sep 17 00:00:00 2001 From: AriDEV Date: Fri, 26 Feb 2016 08:23:50 +0100 Subject: [PATCH] Travis: Update Travis to Clang 3.7 Signed-off-by: AriDEV --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index ad6d4420088..beedd81bb6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,12 +25,16 @@ compiler: before_install: - sudo add-apt-repository ppa:kalakris/cmake -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + - sudo add-apt-repository 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main' + - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-get update -qq + - sudo apt-get install clang-3.7 - sudo apt-get install libace-dev - sudo apt-get install libncurses5-dev - sudo apt-get install build-essential autoconf libtool make cmake git-core patch wget links zip unzip unrar - sudo apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient15-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev - if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi + - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi