Fix badge (#381)

* Fix badge

* Fix make test

* More test time
This commit is contained in:
Lunny Xiao 2020-04-26 20:11:32 +08:00 committed by GitHub
parent 4c786878af
commit 3709e1b06a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ var*
*.log *.log
bin bin
coverage.out coverage.out
.vscode

View File

@ -12,6 +12,9 @@ export DYLD_LIBRARY_PATH
export GO_BUILD_TAGS export GO_BUILD_TAGS
export GO111MODULE=on export GO111MODULE=on
PACKAGES ?= $(shell GO111MODULE=on go list -mod=vendor ./... | grep -v /vendor/)
all: build all: build
build: build:
@ -26,7 +29,7 @@ vet:
go vet -mod=vendor -tags '$(GO_BUILD_TAGS)' ./... go vet -mod=vendor -tags '$(GO_BUILD_TAGS)' ./...
test: test:
go test -mod=vendor --race -tags '$(GO_BUILD_TAGS)' -cover -coverprofile coverage.out -timeout 2m $$(go list ./... | grep -v -e /vendor/) go test -mod=vendor --race -tags '$(GO_BUILD_TAGS)' -cover -coverprofile coverage.out -timeout 10m $(PACKAGES)
clean: clean:
go clean -i ./... go clean -i ./...

View File

@ -1,8 +1,6 @@
# LedisDB # LedisDB
[![Build Status](https://travis-ci.org/ledisdb/ledisdb.svg?branch=develop)](https://travis-ci.org/siddontang/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)
[![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. 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.