Skip to content

Commit

Permalink
add codecov email notificatin.
Browse files Browse the repository at this point in the history
  • Loading branch information
sangshuduo committed Apr 18, 2020
1 parent d0ce500 commit f44580a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage:
precision: 2
notify:
email:
default:
to:
- [email protected]
- &author
only_pulls: false
layout: reach, diff, flags, files
flags: null
paths: null
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f44580a

Please sign in to comment.