1sudo: false 2language: go 3go: 4 - 1.x 5 - master 6matrix: 7 allow_failures: 8 - go: master 9 fast_finish: true 10install: 11 - # 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). 12script: 13 - go get -t -v ./... 14 - diff -u <(echo -n) <(gofmt -d -s .) 15 - go vet ./... 16 - go test -v -race ./... 17