You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
307 B
17 lines
307 B
language: go
|
|
sudo: false
|
|
|
|
go:
|
|
- "1.12.x"
|
|
- "1.13.x"
|
|
- tip
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
script:
|
|
- go generate ./... && test `git ls-files --modified | wc -l` = 0
|
|
- go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|