Merge pull request #2100 from nlohmann/fix_coveralls

Fix Coveralls integration
This commit is contained in:
Niels Lohmann 2020-05-12 12:26:22 +02:00 committed by GitHub
commit 1de30bc611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,16 +95,17 @@ matrix:
- os: linux - os: linux
compiler: gcc compiler: gcc
dist: bionic
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9', 'ninja-build'] packages: ['g++-7', 'ninja-build']
before_script: before_script:
- pip install --user cpp-coveralls - pip install --user cpp-coveralls
after_success: after_success:
- coveralls --build-root test --include include/nlohmann --gcov 'gcov-4.9' --gcov-options '\-lp' - coveralls --build-root test --include include/nlohmann --gcov 'gcov-7' --gcov-options '\-lp'
env: env:
- COMPILER=g++-4.9 - COMPILER=g++-7
- CMAKE_OPTIONS=-DJSON_Coverage=ON - CMAKE_OPTIONS=-DJSON_Coverage=ON
- MULTIPLE_HEADERS=ON - MULTIPLE_HEADERS=ON