2021-10-16 14:11:32 -07:00
|
|
|
sudo: false
|
|
|
|
language: go
|
2023-08-05 11:43:19 -07:00
|
|
|
go_import_path: github.com/dustin/go-humanize
|
2021-10-16 14:11:32 -07:00
|
|
|
go:
|
2023-08-05 11:43:19 -07:00
|
|
|
- 1.13.x
|
|
|
|
- 1.14.x
|
|
|
|
- 1.15.x
|
|
|
|
- 1.16.x
|
|
|
|
- stable
|
2021-10-16 14:11:32 -07: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 .)
|
2023-08-05 11:43:19 -07:00
|
|
|
- go vet .
|
|
|
|
- go install -v -race ./...
|
2021-10-16 14:11:32 -07:00
|
|
|
- go test -v -race ./...
|