Browse Source

Fix coveralls submission.

coveralls-cpp is dead and does not work anymore.
Fortunately there is coveralls-lcov available.
tags/json-c-0.14-20200419
Björn Esser 5 years ago
parent
commit
0dac15c1ca
No known key found for this signature in database GPG Key ID: F52E98007594C21D
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      .travis.yml

+ 9
- 2
.travis.yml View File

@@ -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


Loading…
Cancel
Save