mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-14 17:52:28 +08:00
update: add godoc, goreport, lincense badges in readme file, add .travis.yml
This commit is contained in:
20
.travis.yml
Normal file
20
.travis.yml
Normal 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)
|
||||||
@@ -5,6 +5,12 @@
|
|||||||
</p>
|
</p>
|
||||||
<div align="center" style="text-align: center;">
|
<div align="center" style="text-align: center;">
|
||||||
|
|
||||||
|

|
||||||
|
[](https://github.com/duke-git/lancet/releases)
|
||||||
|
[](https://pkg.go.dev/github.com/duke-git/lancet)
|
||||||
|
[](https://goreportcard.com/report/github.com/duke-git/lancet)
|
||||||
|
[](https://github.com/duke-git/lancet/blob/main/LICENSE)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
English | [简体中文](./README_zh-CN.md)
|
English | [简体中文](./README_zh-CN.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user