travis: force go modules support in $GOPATH, cache modules directory
This commit is contained in:
parent
e2e73379c7
commit
f65b1a4d6e
@ -3,6 +3,7 @@ cache:
|
||||
directories:
|
||||
- vendor/
|
||||
- $GOCACHE
|
||||
- $GOPATH/pkg/mod
|
||||
- $GOPATH/src/github.com/btcsuite
|
||||
- $GOPATH/src/github.com/golang
|
||||
- $GOPATH/src/gopkg.in/alecthomas
|
||||
@ -26,6 +27,8 @@ install:
|
||||
- export PATH=$PATH:$PWD/linux-amd64/
|
||||
|
||||
script:
|
||||
- env GO111MODULE=on
|
||||
|
||||
# Common for all builds.
|
||||
- make btcd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user