From 542576a5e25ac14745940d462ea5fd3002bd72f0 Mon Sep 17 00:00:00 2001 From: Alexander Pavel Date: Tue, 5 Feb 2019 13:52:14 -0800 Subject: [PATCH] .travis.yml: enable caching for dep Enables caching for dep. This should improve CI times, but can cause problems if dep's cache gets corrupted. See this PR for more info: https://github.com/golang/dep/pull/1293#issuecomment-342969292 --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index e5a5f76ac1d..7e958a1a16e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ language: go go_import_path: github.com/operator-framework/operator-sdk sudo: required +cache: + directories: + - $GOPATH/pkg/dep + go: - 1.10.3