From f44580af89859aa273fa93d940039c0125c23061 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Sat, 18 Apr 2020 18:11:15 +0800 Subject: [PATCH] add codecov email notificatin. --- .codecov.yml | 12 ++++++++++++ .travis.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000000..c3ba81f9e2 --- /dev/null +++ b/.codecov.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 8f077c04ea..73d2af4d02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- GitLab