2019-01-31 16:06:36 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2019-06-16 21:33:25 +00:00
|
|
|
- 1.12.x
|
2020-01-09 20:02:56 +00:00
|
|
|
- 1.13.x
|
2019-01-31 16:06:36 +00:00
|
|
|
- tip
|
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
install:
|
|
|
|
- go get -v golang.org/x/lint/golint
|
|
|
|
script:
|
|
|
|
- golint -set_exit_status ./...
|
|
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|