Skip to content

Commit 18e9fff

Browse files
committed
add travis caching for go mods and intermediate build files
1 parent 2eff24b commit 18e9fff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ go:
33
- "1.12"
44
env:
55
- GO111MODULE=on
6+
cache:
7+
directories:
8+
- $HOME/.cache/go-build
9+
- $HOME/gopath/pkg/mod
610
script:
711
- make test
812
- make clean

0 commit comments

Comments
 (0)