2018-04-30 18:42:17 +05:00
|
|
|
language: go
|
|
|
|
go:
|
2019-10-13 13:55:38 +05:00
|
|
|
- 1.11.x
|
2018-04-30 18:42:17 +05:00
|
|
|
- tip
|
2019-10-13 13:55:38 +05:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2018-04-30 18:42:17 +05:00
|
|
|
install:
|
2019-10-13 13:55:38 +05:00
|
|
|
- go get -v golang.org/x/lint/golint
|
2018-04-30 18:42:17 +05:00
|
|
|
script:
|
2019-10-13 13:55:38 +05:00
|
|
|
- golint -set_exit_status ./...
|
|
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
2018-04-30 18:42:17 +05:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|