1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix the path for circleci

This commit is contained in:
winlin 2019-12-10 21:45:58 +08:00
parent c90e321f9c
commit 1b2aff84bc
2 changed files with 5 additions and 3 deletions

View file

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

View file

@ -22,9 +22,13 @@ for file in `find src -name "*.cpp"|grep -v utest`; do
ret=$?; if [[ $ret -ne 0 ]]; then echo "Collect $file failed, ret=$ret"; exit $ret; fi
done
# Cook the gcov files.
find . -name "*.gcov"|grep -v srs|xargs rm -f &&
sed -i 's|src/|trunk/src/|g' *.gcov
ret=$?; if [[ $ret -ne 0 ]]; then echo "Cook gcov files failed, ret=$ret"; exit $ret; fi
# Upload report with *.gcov
cd $workdir &&
find . -name "*.gcov"|grep -v srs|xargs rm -f &&
export CODECOV_TOKEN="493bba46-c468-4e73-8b45-8cdd8ff62d96" &&
bash <(curl -s https://codecov.io/bash)
exit 0