Skip to content

Commit

Permalink
Merge pull request #2100 from nlohmann/fix_coveralls
Browse files Browse the repository at this point in the history
Fix Coveralls integration
  • Loading branch information
nlohmann authored May 12, 2020
2 parents 76c0150 + 66dfa22 commit 1de30bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,17 @@ matrix:

- os: linux
compiler: gcc
dist: bionic
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9', 'ninja-build']
packages: ['g++-7', 'ninja-build']
before_script:
- pip install --user cpp-coveralls
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:
- COMPILER=g++-4.9
- COMPILER=g++-7
- CMAKE_OPTIONS=-DJSON_Coverage=ON
- MULTIPLE_HEADERS=ON

Expand Down

0 comments on commit 1de30bc

Please sign in to comment.