Skip to content

Commit

Permalink
Add Go modules directory to Travis cache
Browse files Browse the repository at this point in the history
In order to speed up the builds in Travis, add the Go modules directory
to the list of directories to be cached.
  • Loading branch information
HeavyWombat committed Sep 5, 2020
1 parent f14aebb commit ef56de8
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.15.x

cache:
directories:
- $GOPATH/pkg/mod

install:
- curl --silent --location https://goo.gl/g1CpPX | bash -s v1.3.0

Expand Down

0 comments on commit ef56de8

Please sign in to comment.