From 0dac15c1ca651945545596de2e1591798ba0dd75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Esser?= Date: Fri, 10 Apr 2020 15:08:09 +0200 Subject: [PATCH] Fix coveralls submission. coveralls-cpp is dead and does not work anymore. Fortunately there is coveralls-lcov available. --- .travis.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3b533e8..38d5120 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,9 +86,13 @@ matrix: - os: linux dist: xenial compiler: gcc + addons: + apt: + packages: + - lcov env: CHECK="true" before_install: - - sudo pip install cpp-coveralls + - sudo gem install coveralls-lcov - echo $CC - echo $LANG - echo $LC_ALL @@ -106,7 +110,10 @@ matrix: - make - make test after_success: - - coveralls --exclude tests --exclude fuzz + - cd .. + - lcov -d build/ -b . -c -o build/all_coverage.info + - lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info + - coveralls-lcov --verbose build/coverage.info # allow_failures: # - os: osx -- 2.49.0