2018-01-11 22:38:50 +01:00
|
|
|
language: go
|
|
|
|
sudo: false
|
2018-11-15 13:38:08 +01:00
|
|
|
|
2018-01-11 22:38:50 +01:00
|
|
|
go:
|
2019-12-09 12:01:37 +01:00
|
|
|
- "1.12.x"
|
|
|
|
- "1.13.x"
|
2018-01-11 22:38:50 +01:00
|
|
|
- tip
|
|
|
|
|
2019-09-07 11:04:40 +02:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2018-01-11 22:38:50 +01:00
|
|
|
|
|
|
|
script:
|
2020-01-06 01:00:16 +01:00
|
|
|
- go generate ./... && test `git ls-files --modified | wc -l` = 0
|
2018-11-15 13:38:08 +01:00
|
|
|
- go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
2018-01-11 22:38:50 +01:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|