travis: test against Go1.7

Fix new go vet complaints
This commit is contained in:
Tamir Duberstein 2016-08-10 13:51:23 -04:00
parent 2e4cfe0fc5
commit 6e7d46934f
No known key found for this signature in database
GPG Key ID: 1C1E98CC8E17BB89
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ language: go
go:
- 1.5.4
- 1.6.3
- 1.7
go_import_path: google.golang.org/grpc
@ -17,5 +18,5 @@ script:
- '! gofmt -s -d -l . 2>&1 | read'
- '! goimports -l . | read'
- '! golint ./... | grep -vE "(_string|\.pb)\.go:"'
- '! go tool vet -all . 2>&1 | grep -vE "constant [0-9]+ not a string in call to Errorf"'
- '! 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