From: Alexandre Garand Date: Thu, 4 Jul 2019 15:39:49 +0000 (+0200) Subject: cache gopath in travis X-Git-Tag: v0.1.0~7^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=12576b10aba194440c9c2e1c071a18888ffb107c;p=github%2Ffretlink%2Fterraform-provider-mailgun.git cache gopath in travis --- 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