Add code coverage

This commit is contained in:
Ettore Di Giacinto
2019-06-06 17:16:32 +02:00
parent b32508eded
commit 5f98a665a5
2 changed files with 8 additions and 1 deletions

View File

@@ -6,4 +6,7 @@ env:
before_install:
- make deps
script:
- make test
- make test
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@@ -1,4 +1,8 @@
# luet - Package manager
[![Go Report Card](https://goreportcard.com/badge/github.com/mudler/luet)](https://goreportcard.com/report/github.com/mudler/luet)
[![Build Status](https://travis-ci.org/mudler/luet.svg?branch=master)](https://travis-ci.org/mudler/luet)
[![GoDoc](https://godoc.org/github.com/mudler/luet?status.svg)](https://godoc.org/github.com/mudler/luet)
[![codecov](https://codecov.io/gh/mudler/luet/branch/master/graph/badge.svg)](https://codecov.io/gh/mudler/luet)
No dep hell for your own package manager !