Skip to content

Commit

Permalink
Add Go mod directory to cache directories
Browse files Browse the repository at this point in the history
The Go modules are downloaded for each run and in theory it should be
safe to keep them around for multiple runs.

Add the Go modules directory to the list of cached directories.
  • Loading branch information
HeavyWombat committed Dec 8, 2019
1 parent 0b98724 commit fcfb917
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ language: go
go:
- 1.12.x

cache:
directories:
- $GOPATH/pkg/mod

os:
- linux

Expand Down

0 comments on commit fcfb917

Please sign in to comment.