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 23:25:15 +08:00
parent fae3a714a2
commit 0c673deb81

View file

@ -24,13 +24,11 @@ done
# Cook the gcov files. # Cook the gcov files.
# The right path is https://codecov.io/gh/ossrs/srs/src/1b2aff84bc50f0681f37b959af6ecaed9490a95d/trunk/src/kernel/srs_kernel_codec.cpp # 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 find . -name "*.gcov"|grep -v srs|xargs rm -f
ret=$?; if [[ $ret -ne 0 ]]; then echo "Cook gcov files failed, ret=$ret"; exit $ret; fi 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 &&
rm -f t.sh && curl -s https://codecov.io/bash -o t.sh && export CODECOV_TOKEN="493bba46-c468-4e73-8b45-8cdd8ff62d96" &&
bash t.sh -y ../../../.circleci/codecov.yml -t 493bba46-c468-4e73-8b45-8cdd8ff62d96 bash <(curl -s https://codecov.io/bash) &&
ret=$?; if [[ $ret -ne 0 ]]; then echo "Upload report failed, ret=$ret"; exit $ret; fi
exit 0 exit 0