Fix coveralls submission.

coveralls-cpp is dead and does not work anymore.
Fortunately there is coveralls-lcov available.
This commit is contained in:
Björn Esser
2020-04-10 15:08:09 +02:00
parent 61392c867f
commit 0dac15c1ca

View File

@@ -86,9 +86,13 @@ matrix:
- os: linux - os: linux
dist: xenial dist: xenial
compiler: gcc compiler: gcc
addons:
apt:
packages:
- lcov
env: CHECK="true" env: CHECK="true"
before_install: before_install:
- sudo pip install cpp-coveralls - sudo gem install coveralls-lcov
- echo $CC - echo $CC
- echo $LANG - echo $LANG
- echo $LC_ALL - echo $LC_ALL
@@ -106,7 +110,10 @@ matrix:
- make - make
- make test - make test
after_success: 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: # allow_failures:
# - os: osx # - os: osx