Merge pull request #2100 from nlohmann/fix_coveralls
Fix Coveralls integration
This commit is contained in:
commit
1de30bc611
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user