ulib/3party/argagg/.travis.yml

17 lines
474 B
YAML
Raw Normal View History

2024-01-22 21:16:50 +08:00
language: cpp
dist: trusty
install:
- sudo apt-get install lcov
- gem install coveralls-lcov
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_CXX_FLAGS="-fprofile-arcs -ftest-coverage"
- cmake --build .
- ctest -V
after_success:
- lcov -d . -c -o coverage.info
- lcov -r coverage.info "/usr*" "$(readlink -f ../test)/*" -o coverage.info
- lcov -l coverage.info
- coveralls-lcov --repo-token ${COVERALLS_TOKEN} coverage.info