From 4de49c6d167439d18781125845d6704813e4ebbd Mon Sep 17 00:00:00 2001 From: Geno Date: Fri, 13 Oct 2017 12:59:26 +0200 Subject: [PATCH] Add codecov for test coverage to see sunburst (#77) --- .test-coverage | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.test-coverage b/.test-coverage index 8bb6ae1..6293cb2 100755 --- a/.test-coverage +++ b/.test-coverage @@ -21,6 +21,7 @@ done # Failures have incomplete results, so don't send if [ "$FAIL" -eq 0 ]; then goveralls -service=travis-ci -v -coverprofile=profile.cov + bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN -f profile.cov fi exit $FAIL diff --git a/README.md b/README.md index 65f6c2e..faad9e7 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Yet another node info collector [![Build Status](https://travis-ci.org/FreifunkBremen/yanic.svg?branch=master)](https://travis-ci.org/FreifunkBremen/yanic) [![Coverage Status](https://coveralls.io/repos/github/FreifunkBremen/yanic/badge.svg?branch=master)](https://coveralls.io/github/FreifunkBremen/yanic?branch=master) +[![codecov](https://codecov.io/gh/FreifunkBremen/yanic/branch/master/graph/badge.svg)](https://codecov.io/gh/FreifunkBremen/yanic) [![Go Report Card](https://goreportcard.com/badge/github.com/FreifunkBremen/yanic)](https://goreportcard.com/report/github.com/FreifunkBremen/yanic) `yanic` is a respondd client that fetches, stores and publishes information about a Freifunk network. The goals: