test: add go 1.11 to travis and remove go 1.7 (#2278)
This commit is contained in:
16
.travis.yml
16
.travis.yml
@ -2,18 +2,18 @@ language: go
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- go: 1.10.x
|
- go: 1.11.x
|
||||||
env: VET=1 RACE=1
|
env: VET=1 RACE=1
|
||||||
- go: 1.6.x
|
- go: 1.11.x
|
||||||
- go: 1.7.x
|
env: RUN386=1
|
||||||
- go: 1.8.x
|
- go: 1.11.x
|
||||||
|
env: GRPC_GO_RETRY=on
|
||||||
|
- go: 1.10.x
|
||||||
- go: 1.9.x
|
- go: 1.9.x
|
||||||
- go: 1.9.x
|
- go: 1.9.x
|
||||||
env: GAE=1
|
env: GAE=1
|
||||||
- go: 1.10.x
|
- go: 1.8.x
|
||||||
env: RUN386=1
|
- go: 1.6.x
|
||||||
- go: 1.10.x
|
|
||||||
env: GRPC_GO_RETRY=on
|
|
||||||
|
|
||||||
go_import_path: google.golang.org/grpc
|
go_import_path: google.golang.org/grpc
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ var HandshakeProtocol_name = map[int32]string{
|
|||||||
}
|
}
|
||||||
var HandshakeProtocol_value = map[string]int32{
|
var HandshakeProtocol_value = map[string]int32{
|
||||||
"HANDSHAKE_PROTOCOL_UNSPECIFIED": 0,
|
"HANDSHAKE_PROTOCOL_UNSPECIFIED": 0,
|
||||||
"TLS": 1,
|
"TLS": 1,
|
||||||
"ALTS": 2,
|
"ALTS": 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x HandshakeProtocol) String() string {
|
func (x HandshakeProtocol) String() string {
|
||||||
@ -67,8 +67,8 @@ var NetworkProtocol_name = map[int32]string{
|
|||||||
}
|
}
|
||||||
var NetworkProtocol_value = map[string]int32{
|
var NetworkProtocol_value = map[string]int32{
|
||||||
"NETWORK_PROTOCOL_UNSPECIFIED": 0,
|
"NETWORK_PROTOCOL_UNSPECIFIED": 0,
|
||||||
"TCP": 1,
|
"TCP": 1,
|
||||||
"UDP": 2,
|
"UDP": 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x NetworkProtocol) String() string {
|
func (x NetworkProtocol) String() string {
|
||||||
|
10
server.go
10
server.go
@ -1063,11 +1063,11 @@ func (s *Server) processStreamingRPC(t transport.ServerTransport, stream *transp
|
|||||||
}
|
}
|
||||||
ctx := NewContextWithServerTransportStream(stream.Context(), stream)
|
ctx := NewContextWithServerTransportStream(stream.Context(), stream)
|
||||||
ss := &serverStream{
|
ss := &serverStream{
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
t: t,
|
t: t,
|
||||||
s: stream,
|
s: stream,
|
||||||
p: &parser{r: stream},
|
p: &parser{r: stream},
|
||||||
codec: s.getCodec(stream.ContentSubtype()),
|
codec: s.getCodec(stream.ContentSubtype()),
|
||||||
maxReceiveMessageSize: s.opts.maxReceiveMessageSize,
|
maxReceiveMessageSize: s.opts.maxReceiveMessageSize,
|
||||||
maxSendMessageSize: s.opts.maxSendMessageSize,
|
maxSendMessageSize: s.opts.maxSendMessageSize,
|
||||||
trInfo: trInfo,
|
trInfo: trInfo,
|
||||||
|
2
vet.sh
2
vet.sh
@ -85,5 +85,7 @@ google.golang.org/grpc/test/end2end_test.go:SA1019
|
|||||||
google.golang.org/grpc/balancer_test.go:SA1019
|
google.golang.org/grpc/balancer_test.go:SA1019
|
||||||
google.golang.org/grpc/balancer.go:SA1019
|
google.golang.org/grpc/balancer.go:SA1019
|
||||||
google.golang.org/grpc/clientconn_test.go:SA1019
|
google.golang.org/grpc/clientconn_test.go:SA1019
|
||||||
|
google.golang.org/grpc/internal/transport/handler_server_test.go:SA1019
|
||||||
|
google.golang.org/grpc/internal/transport/handler_server.go:SA1019
|
||||||
' ./...
|
' ./...
|
||||||
misspell -error .
|
misspell -error .
|
||||||
|
Reference in New Issue
Block a user