Skip to content

Commit

Permalink
Install vendored packages before using Stringer on 1.8
Browse files Browse the repository at this point in the history
* Workaround for golang/go#21387
  • Loading branch information
ChimeraCoder committed Sep 22, 2017
1 parent 2b52e36 commit f92dc5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -23,6 +23,11 @@ before_script:
- go get -u github.com/gogo/protobuf/protoc-gen-gofast
- go get -u github.com/golang/dep/cmd/dep
- go get -u golang.org/x/tools/cmd/stringer

# This is needed to fix https://github.com/golang/go/issues/21387
- if [ "$TRAVIS_GO_VERSION" = "1.8" ]; then go install; fi


- go generate
# We need to ignore changes to this one file
# because the go-generated version will have a different
Expand Down

0 comments on commit f92dc5b

Please sign in to comment.