Code coverage
Branch: master
Clone or download
avelino Merge branch 'cloudson-master'
* cloudson-master:
  Use langVersionSupported on tests instead of goversionSupported
  Use the same build.sh strategy on travis ci
Latest commit 2765825 Oct 31, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
dockers/Golang
templates
vendor
.gitignore
.travis.yml
Caddyfile
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE Initial commit Apr 3, 2017
README.md
badge.go
build.sh
docker-compose.yml
handlers.go
main.go
main_test.go

README.md

Build Status

cover.run

cover - Generate test coverage badge for any public Go package. Supported Go versions

  • 1.11
  • 1.10
  • 1.9
  • 1.8

Supported badge styles

  • flat coverage
  • flat-square coverage

Style is specified as a query string parameter, e.g. https://cover.run/github.com/avelino/cover.run.svg?style=flat-square

Pre-requisites

  1. Docker
  2. Docker compose

How to run?

$ cd $GOPATH/src/github.com/avelino/cover.run
# build.sh builds all the required Docker images for running the tests
$ ./build.sh
$ docker-compose up