blob: ac12e485a156bd8f59272865f79c3d1f36874595 [file] [log] [blame]
khenaidoo59ce9dd2019-11-11 13:05:32 -05001sudo: false
2language: go
Abhay Kumar40252eb2025-10-13 13:25:53 +00003go_import_path: github.com/dustin/go-humanize
khenaidoo59ce9dd2019-11-11 13:05:32 -05004go:
Abhay Kumar40252eb2025-10-13 13:25:53 +00005 - 1.13.x
6 - 1.14.x
7 - 1.15.x
8 - 1.16.x
9 - stable
khenaidoo59ce9dd2019-11-11 13:05:32 -050010 - master
11matrix:
12 allow_failures:
13 - go: master
14 fast_finish: true
15install:
16 - # 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).
17script:
khenaidoo59ce9dd2019-11-11 13:05:32 -050018 - diff -u <(echo -n) <(gofmt -d -s .)
Abhay Kumar40252eb2025-10-13 13:25:53 +000019 - go vet .
20 - go install -v -race ./...
khenaidoo59ce9dd2019-11-11 13:05:32 -050021 - go test -v -race ./...