build with multiple gcc versions

This commit is contained in:
Daniel Sipka 2015-05-11 23:45:55 +02:00
parent abbe7dbc8f
commit f04756fa3e

View File

@ -1,13 +1,16 @@
language: cpp language: cpp
compiler: gcc env:
matrix:
- CXX=g++-4.9
- CXX=g++-4.8
- CXX=g++-4.7
before_install: before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:boost-latest/ppa -y - sudo add-apt-repository ppa:boost-latest/ppa -y
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq cmake libboost1.54-dev libboost-program-options1.54-dev g++-4.9 - sudo apt-get install -qq cmake libboost1.54-dev libboost-program-options1.54-dev ${CXX}
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90
before_script: before_script:
- mkdir build - mkdir build