From 0bc3bdc7b89eb8b984c2a5243f09b008f203c36b Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 3 Mar 2021 10:36:24 +0800 Subject: [PATCH] Refine gcov files --- trunk/auto/coverage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/auto/coverage.sh b/trunk/auto/coverage.sh index 55cb7ce46..c211243ea 100644 --- a/trunk/auto/coverage.sh +++ b/trunk/auto/coverage.sh @@ -39,7 +39,9 @@ ret=$?; if [[ $ret -ne 0 ]]; then echo "Cook gcov files failed, ret=$ret"; exit # https://codecov.io/gh/ossrs/srs/src/20fbb4466fdc8ba5d810b8570df6004063212838/trunk/src/protocol/srs_rtmp_stack.cpp # Remark: It takes a few minutes to sync with github, so it might not available when CircleCI is done. # https://circleci.com/gh/ossrs/srs/tree/3.0release +# +# Note: Use '-X gcov' to avoid generate the gcov files again. cd $workdir && export CODECOV_TOKEN="493bba46-c468-4e73-8b45-8cdd8ff62d96" && -bash <(curl -s https://codecov.io/bash) && +bash <(curl -s https://codecov.io/bash) -X gcov && echo "Done" && exit 0