2018-07-24 14:06:03 +02:00
|
|
|
language: go
|
|
|
|
go:
|
2019-03-24 10:13:40 +01:00
|
|
|
- 1.11.x
|
2018-11-03 16:05:45 +01:00
|
|
|
- tip
|
2019-03-24 10:13:40 +01:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2018-07-24 14:06:03 +02:00
|
|
|
install:
|
2019-03-24 10:13:40 +01:00
|
|
|
- go get -v golang.org/x/lint/golint
|
2018-07-24 14:06:03 +02:00
|
|
|
script:
|
2019-03-24 10:13:40 +01:00
|
|
|
- golint -set_exit_status ./...
|
|
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
2018-11-03 16:05:45 +01:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2018-07-24 14:06:03 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|