Bump clang to 3.5 in travis

This commit is contained in:
Maxime Coste 2016-03-25 23:28:23 +00:00
parent ba337f952b
commit dec1fff9f9

View File

@ -16,8 +16,12 @@ before_install:
fi; fi;
install: install:
- if [ $TRAVIS_OS_NAME = linux -a "$CXX" = "g++" ]; then - if [ $TRAVIS_OS_NAME = linux ]; then
if [ "$CXX" = "clang++" ]; then
export CXX=clang++-3.5;
elif [ "$CXX" = "g++" ]; then
export CXX=g++-4.9; export CXX=g++-4.9;
fi;
elif [ $TRAVIS_OS_NAME = osx ]; then elif [ $TRAVIS_OS_NAME = osx ]; then
brew outdated boost || brew upgrade boost; brew outdated boost || brew upgrade boost;
fi; fi;
@ -30,7 +34,9 @@ addons:
sources: sources:
- boost-latest - boost-latest
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.5
packages: packages:
- clang-3.5
- libstdc++-4.9-dev - libstdc++-4.9-dev
- g++-4.9 - g++-4.9
- libncursesw5-dev - libncursesw5-dev