From 175e630717fb5f9aaa2a4cfeb768702bc4d5c252 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 31 Aug 2018 21:48:04 +0200 Subject: [PATCH] Travis: Also cache $GOPATH/pkg/mod --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 61fe94eba..b54df0c3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ matrix: cache: directories: - $HOME/.cache/go-build + - $HOME/gopath/pkg/mod - os: linux go: "1.10.x" @@ -16,6 +17,7 @@ matrix: 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 @@ -24,6 +26,7 @@ matrix: cache: directories: - $HOME/.cache/go-build + - $HOME/gopath/pkg/mod - os: osx go: "1.11.x" @@ -31,6 +34,7 @@ matrix: cache: directories: - $HOME/Library/Caches/go-build + - $HOME/gopath/pkg/mod branches: only: