From de7e1b0d3525936b5973f6d4e7eea763aed3086c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Fri, 4 Jun 2021 18:04:34 +0800 Subject: [PATCH] update readme --- .travis.yml | 6 +----- README.md | 28 +++++++++++++++++++++------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index d53690bd..766154bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,8 @@ -# 指定运行环境 language: go -# 指定版本,可以指定多个 go: - master -script: - - go test -race -coverprofile=coverage.txt -covermode=atomic - after_success: + - CODECOV_TOKEN='8c97795f-daed-4374-8f21-619d54f55c38' - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/README.md b/README.md index 796fc5c0..e89ca966 100644 --- a/README.md +++ b/README.md @@ -4,22 +4,36 @@ 📦 Golang扩展包 +[comment]: <> (go) [![Golang Version](https://img.shields.io/badge/golang-%3E%3D1.6-8892BF.svg)](https://golang.google.cn/) +[![GoDoc](https://pkg.go.dev/badge/github.com/dtapps/go-library?status.svg)](https://pkg.go.dev/github.com/dtapps/go-library?tab=doc) + +[comment]: <> (goproxy.cn) [![Goproxy.cn](https://goproxy.cn/stats/github.com/dtapps/go-library/badges/download-count.svg)](https://goproxy.cn) -[![Build Status](https://api.travis-ci.com/dtapps/go-library.svg?branch=master)](https://www.travis-ci.com/github/dtapps/go-library) -[![codecov](https://codecov.io/gh/dtapps/go-library/branch/master/graph/badge.svg)](https://codecov.io/gh/dtapps/go-library) + +[comment]: <> (goreportcard.com) [![Go Report Card](https://goreportcard.com/badge/github.com/dtapps/go-library)](https://goreportcard.com/report/github.com/dtapps/go-library) -[![GoDoc](https://pkg.go.dev/badge/github.com/dtapps/go-library?status.svg)](https://pkg.go.dev/github.com/dtapps/go-library?tab=doc) -[![Join the chat at https://gitter.im/dtapps/go-library](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dtapps/go-library?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![Sourcegraph](https://sourcegraph.com/github.com/dtapps/go-library/-/badge.svg)](https://sourcegraph.com/github.com/dtapps/go-library?badge) -[![Open Source Helpers](https://www.codetriage.com/dtapps/go-library/badges/users.svg)](https://www.codetriage.com/dtapps/go-library) + +[comment]: <> (github.com) [![Release](https://img.shields.io/github/release/dtapps/go-library.svg?style=flat-square)](https://github.com/dtapps/go-library/releases) -[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/dtapps/go-library)](https://www.tickgit.com/browse?repo=github.com/dtapps/go-library) + +[comment]: <> (sourcegraph.com) +[![Sourcegraph](https://sourcegraph.com/github.com/dtapps/go-library/-/badge.svg)](https://sourcegraph.com/github.com/dtapps/go-library?badge) + +[comment]: <> (scrutinizer-ci.com) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dtapps/go-library/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dtapps/go-library/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/dtapps/go-library/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dtapps/go-library/?branch=master) [![Code Build](https://scrutinizer-ci.com/g/dtapps/go-library/badges/build.png?b=master)](https://scrutinizer-ci.com/g/dtapps/go-library/?branch=master) [![Code Intelligence](https://scrutinizer-ci.com/g/dtapps/go-library/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/g/dtapps/go-library/?branch=master) +[comment]: <> (www.codetriage.com) +[![Open Source Helpers](https://www.codetriage.com/dtapps/go-library/badges/users.svg)](https://www.codetriage.com/dtapps/go-library) + +[comment]: <> (www.travis-ci.com) +[![Build Status](https://api.travis-ci.com/dtapps/go-library.svg?branch=master)](https://www.travis-ci.com/github/dtapps/go-library) + +[comment]: <> (app.codecov.io) +[![codecov](https://codecov.io/gh/dtapps/go-library/branch/master/graph/badge.svg)](https://codecov.io/gh/dtapps/go-library) ## Install