Skip to content

Commit c88aae4

Browse files
clrprodjonjohnsonjr
authored andcommitted
Convert build system to go modules. (google#544)
* go: Switch to go version 1.13. 1.11 is unsupported, and 1.12 doesn't default to modules which makes testing more complicated. * Replace Gopkg with go modules * Go mod tidy * go get -u=patch ./... * go: Add go module directory to travis cache to speed up tests * Modify update-deps to generate vendor directory and check it in. This should allow go1.12 (which will default to no modules) to work.
1 parent 38d665c commit c88aae4

File tree

775 files changed

+130049
-262099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

775 files changed

+130049
-262099
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ language:
66
- go
77

88
go:
9-
- "1.11"
109
- "1.12"
10+
- "1.13"
1111

1212
git:
1313
depth: 1
1414

15+
cache:
16+
directories:
17+
- $GOPATH/pkg/mod
18+
1519
install:
1620
# Lint!
1721
- go get -v -u golang.org/x/lint/golint

0 commit comments

Comments
 (0)