From d09aa2964f0dec83f2bdaa7b023a4c5b38a2b4f9 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Thu, 9 Jun 2016 17:32:13 -0400 Subject: [PATCH] Traviiissss --- .travis.yml | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index a9cb573d..32622f02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,37 +82,55 @@ matrix: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.5 packages: - gcc-4.9 - g++-4.9 - - clang-3.5 - ninja-build - liblua5.2-dev - os: linux - env: COMPILER=clang++-3.6 LUA_VERSION=lua52 + env: + - LLVM_VERSION=3.6.0 + - LLVM_ARCHIVE_PATH=$HOME/clang+llvm.tar.xz + - COMPILER=clang++3.6 + - CPPFLAGS="-I $HOME/clang-$LLVM_VERSION/include/c++/v1" + - CXXFLAGS=-lc++ + - PATH=$HOME/clang-$LLVM_VERSION/bin:$PATH + - LD_LIBRARY_PATH=$HOME/clang-$LLVM_VERSION/lib:$LD_LIBRARY_PATH + - LUA_VERSION=lua52 + before_install: + - 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_VERSION + - tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1 compiler: clang addons: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.6 packages: - - clang-3.6 - ninja-build - liblua5.2-dev - os: linux - env: COMPILER=clang++-3.6 LUA_VERSION=luajit51 + env: + - LLVM_VERSION=3.6.0 + - LLVM_ARCHIVE_PATH=$HOME/clang+llvm.tar.xz + - COMPILER=clang++3.6 + - CPPFLAGS="-I $HOME/clang-$LLVM_VERSION/include/c++/v1" + - CXXFLAGS=-lc++ + - PATH=$HOME/clang-$LLVM_VERSION/bin:$PATH + - LD_LIBRARY_PATH=$HOME/clang-$LLVM_VERSION/lib:$LD_LIBRARY_PATH + - LUA_VERSION=luajit51 + before_install: + - 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_VERSION + - tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1 compiler: clang addons: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.6 packages: - - clang-3.6 - ninja-build - libluajit-5.1-dev