2018-05-01 23:45:06 +00:00
|
|
|
language: go
|
|
|
|
sudo: false
|
2019-04-17 17:15:55 +00:00
|
|
|
|
2018-05-01 23:45:06 +00:00
|
|
|
go:
|
2020-02-21 15:53:11 +00:00
|
|
|
- "1.12.x"
|
|
|
|
- "1.13.x"
|
2018-05-01 23:45:06 +00:00
|
|
|
- tip
|
|
|
|
|
2020-02-21 15:53:11 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2018-05-01 23:45:06 +00:00
|
|
|
|
|
|
|
script:
|
2020-02-21 15:53:11 +00:00
|
|
|
- go generate ./... && test `git ls-files --modified | wc -l` = 0
|
2019-04-17 17:15:55 +00:00
|
|
|
- go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
2018-05-01 23:45:06 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|