diff --git a/.travis.yml b/.travis.yml index 268046c9..97a213aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,9 @@ before_install: - if [ $TRAVIS_OS_NAME = linux ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; sudo add-apt-repository ppa:boost-latest/ppa -y; + if [ "$CXX" = "clang++" ]; then + sudo add-apt-repository ppa:h-rayflood/llvm-upper -y; + fi; sudo apt-get update -qq; elif [ $TRAVIS_OS_NAME = osx ]; then brew update; @@ -17,6 +20,8 @@ install: - if [ $TRAVIS_OS_NAME = linux ]; then if [ "$CXX" = "clang++" ]; then sudo apt-get install -y libstdc++-4.9-dev; + sudo apt-get install -y clang-3.5; + export CXX=clang++-3.5; elif [ "$CXX" = "g++" ]; then sudo apt-get install -y g++-4.9; export CXX=g++-4.9;