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