Try to move to the new Travis container based infrastructure.

This commit is contained in:
King_DuckZ 2015-07-24 22:21:43 +02:00
parent 39fecaf6e0
commit cd4d5b9bf5

View file

@ -4,18 +4,12 @@ script:
- cmake -DCMAKE_BUILD_TYPE=Debug test/ && make
- ./unit/unit --gtest_filter='*.*'
before_install:
#g++4.8.1
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- sudo apt-get update -qq
# clang 3.4
- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
- sudo apt-get update -qq
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
install:
# g++4.8.1
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
# clang 3.4
- if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
sudo: off