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:
parent
c90e321f9c
commit
1b2aff84bc
2 changed files with 5 additions and 3 deletions
|
@ -1,2 +0,0 @@
|
||||||
fixes:
|
|
||||||
- "src/::trunk/src"
|
|
|
@ -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
|
ret=$?; if [[ $ret -ne 0 ]]; then echo "Collect $file failed, ret=$ret"; exit $ret; fi
|
||||||
done
|
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
|
# Upload report with *.gcov
|
||||||
cd $workdir &&
|
cd $workdir &&
|
||||||
find . -name "*.gcov"|grep -v srs|xargs rm -f &&
|
|
||||||
export CODECOV_TOKEN="493bba46-c468-4e73-8b45-8cdd8ff62d96" &&
|
export CODECOV_TOKEN="493bba46-c468-4e73-8b45-8cdd8ff62d96" &&
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash)
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue