Skip to content

Commit

Permalink
[build] Added codecov test coverage report uploading from CI (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Nov 6, 2020
1 parent 172d91f commit 2e39603
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Expand Up @@ -25,6 +25,7 @@ matrix:
- BUILD_TYPE=Debug
- BUILD_OPTS='-DENABLE_CODE_COVERAGE=ON -DENABLE_EXPERIMENTAL_BONDING=ON'
- RUN_SONARCUBE=1
- RUN_CODECOV=1
- env:
- BUILD_TYPE=Debug
- BUILD_OPTS='-DENABLE_LOGGING=OFF -DENABLE_MONOTONIC_CLOCK=ON -DENABLE_EXPERIMENTAL_BONDING=ON'
Expand Down Expand Up @@ -78,5 +79,10 @@ script:
- if [ "$TRAVIS_COMPILER" != "x86_64-w64-mingw32-g++" ]; then
./test-srt --gtest_filter="-TestMuxer.IPv4_and_IPv6";
fi
- if (( "$RUN_SONARCUBE" )); then source ./scripts/collect-gcov.sh; fi
- if (( "$RUN_SONARCUBE" )); then sonar-scanner -D"sonar.cfamily.gcov.reportPath=."; fi
- source ./scripts/collect-gcov.sh
- if (( "$RUN_SONARCUBE" )); then
sonar-scanner -D"sonar.cfamily.gcov.reportPath=.";
fi
- if (( "$RUN_CODECOV" )); then
bash <(curl -s https://codecov.io/bash);
fi

0 comments on commit 2e39603

Please sign in to comment.