Skip to content

Commit

Permalink
Travis: Also cache $GOPATH/pkg/mod
Browse files Browse the repository at this point in the history
  • Loading branch information
fd0 committed Aug 31, 2018
1 parent 44f38ad commit 175e630
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 @@ -9,13 +9,15 @@ matrix:
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod

- os: linux
go: "1.10.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod

# only run fuse and cloud backends tests on Travis for the latest Go on Linux
- os: linux
Expand All @@ -24,13 +26,15 @@ matrix:
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod

- os: osx
go: "1.11.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
cache:
directories:
- $HOME/Library/Caches/go-build
- $HOME/gopath/pkg/mod

branches:
only:
Expand Down

0 comments on commit 175e630

Please sign in to comment.