Skip to content

Commit 81c9bf5

Browse files
committed
Cache go directories on Travis
This caches the go mod and go build cache directories, which should speed up test runs.
1 parent 408db94 commit 81c9bf5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ os:
44
- linux
55
- osx
66

7+
cache:
8+
directories:
9+
- $HOME/.cache/go-build
10+
- $GOPATH/pkg/mod
11+
712
go:
813
- "1.12"
914

0 commit comments

Comments
 (0)