From 17a6acf58ae84270bc6805b93ebe9028a2a5e046 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Thu, 16 May 2019 17:01:23 +1000 Subject: [PATCH] Travis: Cache $GOPATH/pkg/mod (#301) Speeds up CI testing --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 45f3b7f0..7b00bb23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,10 @@ matrix: env: - GO111MODULE=on install: true - + cache: + directories: + - $GOPATH/pkg/mod + script: - make check after_success: @@ -36,6 +39,9 @@ matrix: env: - GO111MODULE=on install: true + cache: + directories: + - $GOPATH/pkg/mod script: - make check