From ff26fb3ab7afbd45fac176c30ee6483c95718417 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 25 Sep 2019 11:48:40 -0700 Subject: [PATCH] make codecov bot to comment on PRs --- .codecov.yml | 8 +++++++- .travis.yml | 3 --- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 69cb76019a..17faa8c54f 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1 +1,7 @@ -comment: false +comment: + layout: "reach, diff, flags, files" + behavior: default + require_changes: false # if true: only post the comment if coverage changes + require_base: no # [yes :: must have a base report to post] + require_head: yes # [yes :: must have a head report to post] + branches: null # branch names that can post comment \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index cebb7d96de..b92c54b6e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ os: linux language: go go: - 1.12.9 - env: global: - GOPROXY=https://proxy.golang.org @@ -33,10 +32,8 @@ matrix: before_install: - sudo apt-get install -y libvirt-dev script: make test - after_success: - bash <(curl -s https://codecov.io/bash) - notifications: webhooks: https://www.travisbuddy.com/ on_success: never # travisbuddy don't comment on successful \ No newline at end of file