-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dep files to ensure reproducible builds
Also removes tests that didn't do anything and replace with a generate check.
- Loading branch information
1 parent
b235787
commit 97124e5
Showing
8 changed files
with
79 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
before_install: | ||
- ./install-protobuf.sh | ||
- PATH=/home/travis/bin:$PATH protoc --version | ||
- go get github.com/gogo/protobuf/protoc-gen-gogo/descriptor | ||
- go get github.com/gogo/protobuf/types | ||
- go get github.com/gogo/protobuf/protoc-gen-gogotypes | ||
- go get github.com/gogo/protobuf/gogoreplace | ||
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh | ||
- dep ensure --vendor-only | ||
- echo $TRAVIS_GO_VERSION | ||
|
||
script: | ||
- PATH=/home/travis/bin:$PATH make test | ||
- PATH=/home/travis/bin:$PATH make regenerate | ||
- git diff --exit-code | ||
|
||
language: go | ||
|
||
go: | ||
- 1.9.x | ||
- "1.9.x" | ||
- "1.10.x" | ||
- tip | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
required = [ | ||
"github.com/gogo/protobuf/gogoreplace", | ||
] | ||
|
||
[[constraint]] | ||
name = "github.com/gogo/protobuf" | ||
version = "1.1.1" | ||
|
||
[prune] | ||
go-tests = true | ||
unused-packages = true | ||
non-go = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters