2014-09-12 06:40:57 +00:00
|
|
|
language: cpp
|
|
|
|
|
2016-07-29 07:36:18 +00:00
|
|
|
cache: ccache
|
2015-09-04 23:40:15 +00:00
|
|
|
|
2020-10-13 19:33:31 +00:00
|
|
|
dist: focal
|
|
|
|
|
2014-09-28 10:42:30 +00:00
|
|
|
|
2014-09-12 06:40:57 +00:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2015-09-04 23:40:15 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- COMPILER=g++-4.8 CCOMPILER=gcc-4.8 PUSH_COVERAGE=ON
|
2015-09-29 00:22:02 +00:00
|
|
|
- COMPILER=g++-4.9 CCOMPILER=gcc-4.9
|
|
|
|
- COMPILER=g++-5 CCOMPILER=gcc-5
|
2015-09-29 00:22:42 +00:00
|
|
|
- COMPILER=clang++-3.6 CCOMPILER=clang-3.6
|
2015-09-04 23:40:15 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- boost-latest
|
2015-09-29 00:22:42 +00:00
|
|
|
- llvm-toolchain-precise
|
|
|
|
- llvm-toolchain-precise-3.6
|
2015-09-04 23:40:15 +00:00
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2015-09-29 00:22:02 +00:00
|
|
|
- g++-4.9
|
|
|
|
- g++-5
|
2015-09-29 00:22:42 +00:00
|
|
|
- clang-3.6
|
2020-10-13 19:33:31 +00:00
|
|
|
- libboost-all-dev
|
2015-09-04 23:40:15 +00:00
|
|
|
- python-pip
|
|
|
|
|
|
|
|
install:
|
|
|
|
- if [ "$PUSH_COVERAGE" == "ON" ]; then pip install --user git+git://github.com/eddyxu/cpp-coveralls.git; fi
|
2014-09-12 06:40:57 +00:00
|
|
|
|
|
|
|
before_script:
|
2015-09-04 23:40:15 +00:00
|
|
|
- export CXX=$COMPILER CC=$CCOMPILER
|
2014-09-12 06:40:57 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2014-09-12 07:19:43 +00:00
|
|
|
- cmake --version
|
2014-09-12 06:40:57 +00:00
|
|
|
- cmake ..
|
|
|
|
|
2020-10-13 19:33:31 +00:00
|
|
|
script: make -j2 && ctest -V -j2
|
2015-06-10 09:13:47 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- cd ..
|
2017-03-14 04:47:48 +00:00
|
|
|
- if [ "$PUSH_COVERAGE" == "ON" ]; then coveralls --gcov gcov-4.8 -i include --gcov-options '\-lp'; fi
|