mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
CI: Update codecov badge
This commit is contained in:
parent
7243d8e7b8
commit
a25efa3764
3 changed files with 5 additions and 6 deletions
|
@ -11,7 +11,7 @@ jobs:
|
|||
- image: ossrs/dev
|
||||
steps:
|
||||
- checkout
|
||||
- run: cd trunk && ./configure --gcov --without-research --without-librtmp && make && bash auto/coverage.sh
|
||||
- run: cd trunk && ./configure --gcov --without-research --without-librtmp && make && ./objs/srs_utest && bash auto/coverage.sh
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_test:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Simple-RTMP-Server
|
||||
|
||||
[](https://circleci.com/gh/ossrs/srs/tree/3.0release)
|
||||
[](https://codecov.io/gh/ossrs/srs)
|
||||
[](https://github.com/ossrs/srs/wiki/v1_CN_Contact#wechat)
|
||||
[<img width="52" alt="Skype" src="https://cloud.githubusercontent.com/assets/2777660/24329166/3821a328-1230-11e7-844a-506a5d17dd3d.png">](https://github.com/ossrs/srs/wiki/v1_EN_Contact#skype-or-gitter)
|
||||
|
||||
|
|
|
@ -2,10 +2,8 @@
|
|||
|
||||
# In .circleci/config.yml, generate *.gcno with
|
||||
# ./configure --gcov --without-research --without-librtmp
|
||||
|
||||
# Generate *.gcda
|
||||
./objs/srs_utest
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then echo "Run SRS utest failed, ret=$ret"; exit $ret; fi
|
||||
# and generate *.gcda by
|
||||
# ./objs/srs_utest
|
||||
|
||||
# Collect all *.gcno and *.gcda to objs/cover.
|
||||
(mkdir -p objs/cover && cd objs/cover &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue