Travis: Cache $GOPATH/pkg/mod (#301)

Speeds up CI testing
This commit is contained in:
Adrian Gallagher
2019-05-16 17:01:23 +10:00
committed by GitHub
parent 6c850e73e2
commit 17a6acf58a

View File

@@ -22,7 +22,10 @@ matrix:
env:
- GO111MODULE=on
install: true
cache:
directories:
- $GOPATH/pkg/mod
script:
- make check
after_success:
@@ -36,6 +39,9 @@ matrix:
env:
- GO111MODULE=on
install: true
cache:
directories:
- $GOPATH/pkg/mod
script:
- make check