1 dist: bionic 2 3 language: go 4 5 go: 6 - 1.13.x 7 8 install: 9 - go get golang.org/x/tools/cmd/cover 10 - go get github.com/mattn/goveralls 11 - go get golang.org/x/lint/golint 12 13 script: 14 - test -z "`gofmt -l -d .`" 15 - test -z "`golint ./...`" 16 - go test -v -covermode=count -coverprofile=coverage.out 17 - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci 18