.travis.yml (482B)
1 sudo: false 2 language: go 3 go_import_path: github.com/dustin/go-humanize 4 go: 5 - 1.13.x 6 - 1.14.x 7 - 1.15.x 8 - 1.16.x 9 - stable 10 - master 11 matrix: 12 allow_failures: 13 - go: master 14 fast_finish: true 15 install: 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). 17 script: 18 - diff -u <(echo -n) <(gofmt -d -s .) 19 - go vet . 20 - go install -v -race ./... 21 - go test -v -race ./...