.travis.yml (465B)
1 language: go 2 sudo: false 3 go: 4 - 1.10.x 5 install: 6 - go get -v github.com/golang/lint/golint 7 - go get golang.org/x/tools/cmd/cover 8 - go get github.com/mattn/goveralls 9 - go get -d -t -v ./... 10 - go build -v ./... 11 script: 12 - go vet ./... 13 - $HOME/gopath/bin/golint . 14 - go test -v -race ./... 15 - go test -v -covermode=count -coverprofile=cov.out 16 - $HOME/gopath/bin/goveralls -coverprofile=cov.out -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true