1
0
Fork 0
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:
winlin 2019-02-02 21:51:08 +08:00
parent 7243d8e7b8
commit a25efa3764
3 changed files with 5 additions and 6 deletions

View file

@ -1,11 +1,9 @@
#!/bin/bash
# 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
# ./configure --gcov --without-research --without-librtmp
# and generate *.gcda by
# ./objs/srs_utest
# Collect all *.gcno and *.gcda to objs/cover.
(mkdir -p objs/cover && cd objs/cover &&