mirror of https://github.com/ledisdb/ledisdb.git
Add coverage from codecov (#376)
This commit is contained in:
parent
3c399e1b38
commit
026b4a7422
|
@ -5,4 +5,5 @@ nohup.out
|
|||
build_config.mk
|
||||
var*
|
||||
*.log
|
||||
bin
|
||||
bin
|
||||
coverage.out
|
|
@ -6,3 +6,4 @@ go:
|
|||
script:
|
||||
- make vet
|
||||
- make test
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
2
Makefile
2
Makefile
|
@ -26,7 +26,7 @@ vet:
|
|||
go vet -mod=vendor -tags '$(GO_BUILD_TAGS)' ./...
|
||||
|
||||
test:
|
||||
go test -mod=vendor --race -tags '$(GO_BUILD_TAGS)' -timeout 2m $$(go list ./... | grep -v -e /vendor/)
|
||||
go test -mod=vendor --race -tags '$(GO_BUILD_TAGS)' -cover -coverprofile coverage.out -timeout 2m $$(go list ./... | grep -v -e /vendor/)
|
||||
|
||||
clean:
|
||||
go clean -i ./...
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# LedisDB
|
||||
|
||||
[![Build Status](https://travis-ci.org/ledisdb/ledisdb.svg?branch=develop)](https://travis-ci.org/ledisdb/ledisdb)
|
||||
[![Build Status](https://travis-ci.org/ledisdb/ledisdb.svg?branch=develop)](https://travis-ci.org/siddontang/ledisdb)
|
||||
|
||||
[![codecov](https://codecov.io/gh/ledisdb/ledisdb/branch/master/graph/badge.svg)](https://codecov.io/gh/ledisdb/ledisdb)
|
||||
|
||||
Ledisdb is a high-performance NoSQL database, similar to Redis, written in [Go](http://golang.org/). It supports many data structures including kv, list, hash, zset, set.
|
||||
|
||||
|
|
Loading…
Reference in New Issue