2016-08-30 12:27:35 +08:00
|
|
|
language: go
|
|
|
|
|
|
|
|
install:
|
|
|
|
- go get -d -t -v ./... && go build -v ./...
|
|
|
|
|
|
|
|
go:
|
2018-06-30 16:44:09 +08:00
|
|
|
- 1.10.x
|
2018-09-13 10:38:01 +08:00
|
|
|
- 1.11.x
|
2019-03-06 21:40:45 +08:00
|
|
|
- 1.12.x
|
2019-12-24 01:09:28 +08:00
|
|
|
- 1.13.x
|
2018-06-30 16:44:09 +08:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- GOARCH=amd64
|
|
|
|
- GOARCH=386
|
2016-08-30 12:27:35 +08:00
|
|
|
|
|
|
|
script:
|
|
|
|
- go vet ./...
|
2017-12-01 16:31:27 +08:00
|
|
|
- go test ./... -v -coverprofile=coverage.txt -covermode=atomic
|
2016-08-30 12:27:35 +08:00
|
|
|
|
|
|
|
after_success:
|
2017-09-26 18:47:18 +08:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|