xlnt/.travis.yml

39 lines
878 B
YAML
Raw Normal View History

2015-10-27 04:47:36 +08:00
language: cpp
2017-03-22 11:12:04 +08:00
sudo: false
dist: trusty
notifications:
email: false
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6 zlib1g libcrypto++9 libcrypto++9-dbg libcrypto++-dev cxxtest lcov
env:
- COVERAGE=ON
2017-01-03 02:57:56 +08:00
- STATIC=ON
- SAMPLES=OFF
- BENCHMARKS=OFF
install:
- export CC=gcc-6
- export CXX=g++-6
- gem install coveralls-lcov
2017-03-22 09:07:21 +08:00
script:
- mkdir build
2017-03-22 09:20:08 +08:00
- cd build
2017-03-22 12:21:31 +08:00
- cmake -D STATIC=$STATIC -D BENCHMARKS=$BENCHMARKS -D SAMPLES=$SAMPLES -D COVERAGE=$COVERAGE -D CMAKE_BUILD_TYPE=Debug ..
2017-03-22 10:34:49 +08:00
- make VERBOSE=1
2017-03-22 12:21:31 +08:00
- ./tests/xlnt.test
2017-03-22 08:28:10 +08:00
after_success:
2017-03-22 12:21:31 +08:00
- find .. -name "*.gcda"
- lcov --compat-libtool --directory source/CMakeFiles/xlnt.dir --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-6
- coveralls-lcov coverage.info