Skip to content

Commit

Permalink
Travis: Cache $GOPATH/pkg/mod (thrasher-corp#301)
Browse files Browse the repository at this point in the history
Speeds up CI testing
  • Loading branch information
thrasher- authored May 16, 2019
1 parent 6c850e7 commit 17a6acf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ matrix:
env:
- GO111MODULE=on
install: true

cache:
directories:
- $GOPATH/pkg/mod

script:
- make check
after_success:
Expand All @@ -36,6 +39,9 @@ matrix:
env:
- GO111MODULE=on
install: true
cache:
directories:
- $GOPATH/pkg/mod

script:
- make check
Expand Down

0 comments on commit 17a6acf

Please sign in to comment.