2015-04-22 11:34:21 +02:00
|
|
|
language: cpp
|
|
|
|
|
2015-05-11 23:45:55 +02:00
|
|
|
env:
|
|
|
|
matrix:
|
2015-05-12 08:11:01 +02:00
|
|
|
- COMPILER=g++-4.9
|
|
|
|
- COMPILER=g++-4.8
|
|
|
|
- COMPILER=g++-4.7
|
2015-04-22 11:34:21 +02:00
|
|
|
|
|
|
|
before_install:
|
2015-04-22 11:48:46 +02:00
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
2015-04-22 12:17:18 +02:00
|
|
|
- sudo add-apt-repository ppa:boost-latest/ppa -y
|
2015-04-22 11:34:21 +02:00
|
|
|
- sudo apt-get update -qq
|
2015-05-12 08:11:01 +02:00
|
|
|
- sudo apt-get install -qq cmake libboost1.54-dev libboost-program-options1.54-dev ${COMPILER}
|
2015-04-22 11:34:21 +02:00
|
|
|
|
|
|
|
before_script:
|
2015-05-12 08:11:01 +02:00
|
|
|
- export CXX=${COMPILER}
|
2015-04-22 11:34:21 +02:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2015-04-22 11:41:13 +02:00
|
|
|
- cmake -DWITH_UNIT_TESTS=ON ..
|
2015-04-22 11:34:21 +02:00
|
|
|
|
|
|
|
script: make
|
2015-04-22 11:41:13 +02:00
|
|
|
|
2015-04-22 12:35:34 +02:00
|
|
|
after_script: make test
|