1language: go
2sudo: false
3
4go:
5  - "1.12.x"
6  - "1.13.x"
7  - tip
8
9env:
10  - GO111MODULE=on
11
12script:
13  - go generate ./... && test `git ls-files --modified | wc -l` = 0
14  - go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
15
16after_success:
17  - bash <(curl -s https://codecov.io/bash)
18