diff --git a/.travis.yml b/.travis.yml index 055e1828..922527ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +sudo: required +dist: trusty language: cpp git: @@ -121,8 +123,18 @@ matrix: - os: osx compiler: clang + +env: + global: + - LLVM_VERSION=3.7.0 + - LLVM_ARCHIVE_PATH=$HOME/clang+llvm.tar.xz + before_install: - source ./install.deps.sh +- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH +- mkdir $HOME/clang+llvm +- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang+llvm --strip-components 1 +- export PATH=$HOME/clang+llvm/bin:$PATH install: - install_os_deps