Travis: Cache $GOPATH/pkg/mod
Speeds up CI testing
@@ -22,6 +22,9 @@ matrix:
env:
- GO111MODULE=on
install: true
+ cache:
+ directories:
+ - $GOPATH/pkg/mod
script:
- make check
@@ -36,6 +39,9 @@ matrix:
env:
- GO111MODULE=on
install: true
+ cache:
+ directories:
+ - $GOPATH/pkg/mod
script:
- make check
