Skip to content

Commit 7055654

Browse files
committed
Cache go dependencies in Travis
This caches the go build cache and go module cache in Travis for faster builds.
1 parent a9dec80 commit 7055654

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
language: go
22

3+
cache:
4+
directories:
5+
- $HOME/.cache/go-build
6+
- $GOPATH/pkg/mod
7+
38
os:
49
- linux
510
- osx

0 commit comments

Comments
 (0)