1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

Fix the path for circleci

This commit is contained in:
winlin 2019-12-10 22:09:52 +08:00
parent 1b2aff84bc
commit e3077a8034
2 changed files with 4 additions and 2 deletions

2
.circleci/codecov.yml Normal file
View file

@ -0,0 +1,2 @@
fixes:
- "src/::trunk/src/"

View file

@ -23,8 +23,8 @@ for file in `find src -name "*.cpp"|grep -v utest`; do
done
# Cook the gcov files.
find . -name "*.gcov"|grep -v srs|xargs rm -f &&
sed -i 's|src/|trunk/src/|g' *.gcov
# The right path is https://codecov.io/gh/ossrs/srs/src/1b2aff84bc50f0681f37b959af6ecaed9490a95d/trunk/src/kernel/srs_kernel_codec.cpp
find . -name "*.gcov"|grep -v srs|xargs rm -f && rm -rf src
ret=$?; if [[ $ret -ne 0 ]]; then echo "Cook gcov files failed, ret=$ret"; exit $ret; fi
# Upload report with *.gcov