From 12576b10aba194440c9c2e1c071a18888ffb107c Mon Sep 17 00:00:00 2001 From: Alexandre Garand Date: Thu, 4 Jul 2019 17:39:49 +0200 Subject: [PATCH] cache gopath in travis --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8054364..772e140 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,5 +22,12 @@ matrix: fast_finish: true allow_failures: - go: tip + +cache: + directories: + - $GOPATH/src + - $HOME/.cache/go-build + - $HOME/gopath/pkg/mod + env: GO111MODULE=on -- 2.41.0