2015-04-22 09:34:21 +00:00
|
|
|
language: cpp
|
|
|
|
|
2015-05-11 21:45:55 +00:00
|
|
|
env:
|
|
|
|
matrix:
|
2015-05-12 06:11:01 +00:00
|
|
|
- COMPILER=g++-4.9
|
2015-10-01 22:31:45 +00:00
|
|
|
COMPILER_PACKAGE=g++-4.9
|
|
|
|
|
2015-05-12 06:11:01 +00:00
|
|
|
- COMPILER=g++-4.8
|
2015-10-01 22:31:45 +00:00
|
|
|
COMPILER_PACKAGE=g++-4.9
|
|
|
|
|
2015-05-12 06:11:01 +00:00
|
|
|
- COMPILER=g++-4.7
|
2015-10-01 22:31:45 +00:00
|
|
|
COMPILER_PACKAGE=g++-4.9
|
|
|
|
|
|
|
|
- COMPILER=clang++-3.4
|
|
|
|
COMPILER_PACKAGE=clang-3.4
|
|
|
|
|
|
|
|
- COMPILER=clang++-3.5
|
|
|
|
COMPILER_PACKAGE=clang-3.5
|
|
|
|
|
|
|
|
- COMPILER=clang++-3.6
|
|
|
|
COMPILER_PACKAGE=clang-3.6
|
2015-04-22 09:34:21 +00:00
|
|
|
|
|
|
|
before_install:
|
2015-04-22 09:48:46 +00:00
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
2015-04-22 10:17:18 +00:00
|
|
|
- sudo add-apt-repository ppa:boost-latest/ppa -y
|
2015-10-01 22:31:45 +00:00
|
|
|
- sudo add-apt-repository ppa:h-rayflood/llvm -y
|
2015-04-22 09:34:21 +00:00
|
|
|
- sudo apt-get update -qq
|
2015-10-01 22:31:45 +00:00
|
|
|
- sudo apt-get install -qq libboost1.54-dev libboost-program-options1.54-dev build-essential ${COMPILER_PACKAGE}
|
|
|
|
- ${COMPILER} --version
|
2015-09-30 14:44:41 +00:00
|
|
|
- wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
|
|
|
|
- tar xf cmake-3.2.2.tar.gz
|
|
|
|
- cd cmake-3.2.2
|
|
|
|
- ./configure
|
|
|
|
- make
|
|
|
|
- sudo make install
|
2015-09-30 14:55:10 +00:00
|
|
|
- cd ..
|
2015-04-22 09:34:21 +00:00
|
|
|
|
|
|
|
before_script:
|
2015-05-12 06:11:01 +00:00
|
|
|
- export CXX=${COMPILER}
|
2015-04-22 09:34:21 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2015-04-22 09:41:13 +00:00
|
|
|
- cmake -DWITH_UNIT_TESTS=ON ..
|
2015-04-22 09:34:21 +00:00
|
|
|
|
|
|
|
script: make
|
2015-04-22 09:41:13 +00:00
|
|
|
|
2015-04-22 10:35:34 +00:00
|
|
|
after_script: make test
|