use container-based infrastructure

This commit is contained in:
Daniel Sipka 2015-10-12 01:45:44 +02:00
parent 78dd423f04
commit 2f336034f8

View File

@ -1,36 +1,35 @@
language: cpp language: cpp
sudo: false
env: env:
matrix: matrix:
- COMPILER=g++-4.9 - COMPILER=g++-4.9
COMPILER_PACKAGE=g++-4.9
- COMPILER=g++-4.8 - COMPILER=g++-4.8
COMPILER_PACKAGE=g++-4.8
- COMPILER=g++-4.7 - COMPILER=g++-4.7
COMPILER_PACKAGE=g++-4.7
- COMPILER=clang++-3.5 - COMPILER=clang++-3.5
COMPILER_PACKAGE=clang-3.5
- COMPILER=clang++-3.6 - COMPILER=clang++-3.6
COMPILER_PACKAGE=clang-3.6
before_install: addons:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y apt:
- sudo add-apt-repository ppa:boost-latest/ppa -y sources:
- sudo add-apt-repository ppa:h-rayflood/llvm-upper -y - ubuntu-toolchain-r-test
- sudo apt-get update -qq - boost-latest
- sudo apt-get install -qq libboost1.54-dev libboost-regex1.54-dev libboost-program-options1.54-dev build-essential ${COMPILER_PACKAGE} - llvm-toolchain-precise-3.5
- ${COMPILER} --version - llvm-toolchain-precise-3.6
- wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz - llvm-toolchain-precise-3.7
- tar xf cmake-3.2.2.tar.gz - george-edison55-precise-backports
- cd cmake-3.2.2 packages:
- ./configure - g++-4.7
- make - g++-4.8
- sudo make install - g++-4.9
- cd .. - clang-3.5
- clang-3.6
- build-essential
- cmake
- libboost1.55-dev
- libboost-regex1.55-dev
- libboost-program-options1.55-dev
before_script: before_script:
- export CXX=${COMPILER} - export CXX=${COMPILER}