2022-03-10 09:44:48 +00:00
|
|
|
sudo: false
|
|
|
|
language: go
|
2024-01-05 20:43:05 +00:00
|
|
|
go_import_path: github.com/dustin/go-humanize
|
2022-03-10 09:44:48 +00:00
|
|
|
go:
|
2024-01-05 20:43:05 +00:00
|
|
|
- 1.13.x
|
|
|
|
- 1.14.x
|
|
|
|
- 1.15.x
|
|
|
|
- 1.16.x
|
|
|
|
- stable
|
2022-03-10 09:44:48 +00:00
|
|
|
- master
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: master
|
|
|
|
fast_finish: true
|
|
|
|
install:
|
|
|
|
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
|
|
|
|
script:
|
|
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
2024-01-05 20:43:05 +00:00
|
|
|
- go vet .
|
|
|
|
- go install -v -race ./...
|
2022-03-10 09:44:48 +00:00
|
|
|
- go test -v -race ./...
|