2016-11-19 10:03:41 +00:00
language : go
go :
- 1.6 .3
- 1.7
2017-05-11 14:39:54 +00:00
- 1.8
2016-11-19 10:03:41 +00:00
go_import_path : google.golang.org/grpc
before_install :
2017-05-11 14:39:54 +00:00
- go get github.com/golang/lint/golint
2016-11-19 10:03:41 +00:00
- go get -u golang.org/x/tools/cmd/goimports github.com/axw/gocov/gocov github.com/mattn/goveralls golang.org/x/tools/cmd/cover
script :
- '! gofmt -s -d -l . 2>&1 | read'
- '! goimports -l . | read'
2017-05-11 14:39:54 +00:00
- '! golint ./... | grep -vE "(_mock|_string|\.pb)\.go:"'
2016-11-19 10:03:41 +00:00
- '! go tool vet -all . 2>&1 | grep -vE "constant [0-9]+ not a string in call to Errorf" | grep -vF .pb.go:' # https://github.com/golang/protobuf/issues/214
- make test testrace