2020-09-01 14:01:23 +00:00
|
|
|
dist: bionic
|
2019-09-04 19:53:54 +00:00
|
|
|
language: go
|
2020-09-01 14:01:23 +00:00
|
|
|
env: GO111MODULE=on GOFLAGS='-mod vendor'
|
|
|
|
install: true
|
|
|
|
email: false
|
2019-09-04 19:53:54 +00:00
|
|
|
|
|
|
|
go:
|
2020-09-01 14:01:23 +00:00
|
|
|
- 1.10
|
|
|
|
- 1.11
|
|
|
|
- 1.12
|
|
|
|
- 1.13
|
2019-09-04 19:53:54 +00:00
|
|
|
- tip
|
|
|
|
|
2020-09-01 14:01:23 +00:00
|
|
|
before_script:
|
|
|
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
|
|
|
|
script:
|
|
|
|
- golangci-lint run # run a bunch of code checkers/linters in parallel
|
|
|
|
- go test -v -race ./... # Run all the tests with the race detector enabled
|