From 5c8bdfb068821fadd2fd64e22c0285277af27442 Mon Sep 17 00:00:00 2001 From: Felix Hanley Date: Thu, 14 Mar 2019 11:38:17 +1100 Subject: Use coveralls --- .drone.yml | 4 ++-- README.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9a17129..1febf61 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,5 +5,5 @@ steps: image: "golang:alpine" commands: - apk add --no-cache build-base ca-certificates git - - make test - - bash <(curl -s https://codecov.io/bash) + - go get github.com/mattn/goveralls + - goveralls -service drone.io diff --git a/README.md b/README.md index 0122c37..d98e797 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # Go migrations -[![Build Status](https://cloud.drone.io/api/badges/felix/go-migrate/status.svg)](https://cloud.drone.io/felix/go-migrate) [![GoDoc](https://godoc.org/github.com/felix/go-migrate?status.svg)](http://godoc.org/github.com/felix/go-migrate) +[![Build Status](https://cloud.drone.io/api/badges/felix/go-migrate/status.svg)](https://cloud.drone.io/felix/go-migrate) +[![Coverage Status](https://coveralls.io/repos/github/felix/go-migrate/badge.svg?branch=master)](https://coveralls.io/github/felix/go-migrate?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/felix/go-migrate)](https://goreportcard.com/report/github.com/felix/go-migrate) A very simple migration library for your Go projects. -- cgit v1.2.3