Skip to content

Commit ff26fb3

Browse files
committed
make codecov bot to comment on PRs
1 parent c512109 commit ff26fb3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Diff for: .codecov.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
comment: false
1+
comment:
2+
layout: "reach, diff, flags, files"
3+
behavior: default
4+
require_changes: false # if true: only post the comment if coverage changes
5+
require_base: no # [yes :: must have a base report to post]
6+
require_head: yes # [yes :: must have a head report to post]
7+
branches: null # branch names that can post comment

Diff for: .travis.yml

-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ os: linux
22
language: go
33
go:
44
- 1.12.9
5-
65
env:
76
global:
87
- GOPROXY=https://proxy.golang.org
@@ -33,10 +32,8 @@ matrix:
3332
before_install:
3433
- sudo apt-get install -y libvirt-dev
3534
script: make test
36-
3735
after_success:
3836
- bash <(curl -s https://codecov.io/bash)
39-
4037
notifications:
4138
webhooks: https://www.travisbuddy.com/
4239
on_success: never # travisbuddy don't comment on successful

0 commit comments

Comments
 (0)