【增加】.travis.yml

master
李光春 3 years ago
parent 8558ed3f83
commit bc283d2196

@ -0,0 +1,14 @@
language: go
go:
- 1.8.x
- tip
before_install:
- go get -t -v ./...
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)

@ -9,8 +9,15 @@
[![GoDoc](https://godoc.org/github.com/dtapps/GoLibrary?status.svg)](https://godoc.org/github.com/dtapps/GoLibrary)
[![GoDoc](https://godoc.org/gitee.com/dtapps/GoLibrary?status.svg)](https://godoc.org/gitee.com/dtapps/GoLibrary)
[![GitHub release](https://img.shields.io/github/release/dtapps/GoLibrary.svg)](https://github.com/dtapps/GoLibrary/releases/latest)
[![codecov](https://codecov.io/gh/dtapps/GoLibrary/branch/master/graph/badge.svg)](https://codecov.io/gh/dtapps/GoLibrary)
[![Build Status](https://travis-ci.org/dtapps/GoLibrary.svg?branch=master)](https://travis-ci.org/dtapps/GoLibrary)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%dtapps%2FGoLibrary.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%dtapps%2FGoLibrary?ref=badge_shield)
### 安装
## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2dtapps%2FGoLibrary.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2dtapps%2FGoLibrary?ref=badge_large)
## Install
```Importing
go get gitee.com/dtapps/GoLibrary
```

Loading…
Cancel
Save