add codecov email notificatin.

This commit is contained in:
Shuduo Sang 2020-04-18 18:11:15 +08:00
parent d0ce500a90
commit f44580af89
2 changed files with 13 additions and 1 deletions

12
.codecov.yml Normal file
View File

@ -0,0 +1,12 @@
coverage:
precision: 2
notify:
email:
default:
to:
- sdsang@taosdata.com
- &author
only_pulls: false
layout: reach, diff, flags, files
flags: null
paths: null

View File

@ -166,7 +166,7 @@ matrix:
exit $?
fi
bash <(curl -s https://codecov.io/bash) -f coverage.info
bash <(curl -s https://codecov.io/bash) -y .codecov.yml -f coverage.info
if [ "$?" -eq "0" ]; then
echo -e "${GREEN} ## Uploaded to Codecov! ## ${NC} "
else