Skip to content

Commit

Permalink
Restrict protobuf version to v1.2.0 (#49)
Browse files Browse the repository at this point in the history
protobuf recently introduced a change in master that makes it
incompatible with the latest release. To prevent breakage, use latest
released version of protobuf. For more info, see
golang/protobuf#763 (comment)
  • Loading branch information
j0s authored Dec 7, 2018
1 parent 12bd093 commit 6ed05b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
- popd
script:
- go get -u google.golang.org/grpc
- go get -u github.com/golang/protobuf/protoc-gen-go
- go get -d -u github.com/golang/protobuf/protoc-gen-go
- git -C $GOPATH/src/github.com/golang/protobuf checkout v1.2.0
- go install github.com/golang/protobuf/protoc-gen-go
- mv $GOPATH/bin build/bin
after_failure:
- tree build
Expand Down

0 comments on commit 6ed05b9

Please sign in to comment.