Skip to content

Commit 6e7d469

Browse files
committed
travis: test against Go1.7
Fix new go vet complaints
1 parent 2e4cfe0 commit 6e7d469

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: go
33
go:
44
- 1.5.4
55
- 1.6.3
6+
- 1.7
67

78
go_import_path: google.golang.org/grpc
89

@@ -17,5 +18,5 @@ script:
1718
- '! gofmt -s -d -l . 2>&1 | read'
1819
- '! goimports -l . | read'
1920
- '! golint ./... | grep -vE "(_string|\.pb)\.go:"'
20-
- '! go tool vet -all . 2>&1 | grep -vE "constant [0-9]+ not a string in call to Errorf"'
21+
- '! 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
2122
- make test testrace

0 commit comments

Comments
 (0)