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.
18 lines
393 B
18 lines
393 B
dist: bionic
|
|
language: go
|
|
env: GO111MODULE=on GOFLAGS='-mod vendor'
|
|
install: true
|
|
email: false
|
|
|
|
go:
|
|
- 1.10
|
|
- 1.11
|
|
- 1.12
|
|
- 1.13
|
|
- tip
|
|
|
|
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
|
|
|