1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

update: add godoc, goreport, lincense badges in readme file, add .travis.yml

This commit is contained in:
dudaodong
2021-11-29 14:19:23 +08:00
parent 0c4b512084
commit 6af13a01de
2 changed files with 26 additions and 0 deletions

20
.travis.yml Normal file
View File

@@ -0,0 +1,20 @@
language: go
go:
- 1.16.2
-tip
sudo: required
os:
- linux
- osx
notifications:
email: lanliddd.2007@163.com
before_install:
- go mod tidy
script:
- echo "run"
- go test -race -coverprofile=coverage.txt -covermode=atomic
- go test -v ./...
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@@ -5,6 +5,12 @@
</p>
<div align="center" style="text-align: center;">
![Go version](https://img.shields.io/badge/go-%3E%3D1.16-9cf)
[![Project version](https://img.shields.io/badge/version-1.0.2-green.svg)](https://github.com/duke-git/lancet/releases)
[![GoDoc](https://godoc.org/github.com//duke-git/lancet?status.svg)](https://pkg.go.dev/github.com/duke-git/lancet)
[![Go Report Card](https://goreportcard.com/badge/github.com/duke-git/lancet)](https://goreportcard.com/report/github.com/duke-git/lancet)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/duke-git/lancet/blob/main/LICENSE)
</div>
English | [简体中文](./README_zh-CN.md)