...
1sudo: false
2language: go
3go_import_path: github.com/dustin/go-humanize
4go:
5 - 1.13.x
6 - 1.14.x
7 - 1.15.x
8 - 1.16.x
9 - stable
10 - 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:
18 - diff -u <(echo -n) <(gofmt -d -s .)
19 - go vet .
20 - go install -v -race ./...
21 - go test -v -race ./...
View as plain text