From 2ad0e1d6a3050f657ae3d72b5542990628cca0dd Mon Sep 17 00:00:00 2001 From: Owais Lone Date: Wed, 26 Jun 2019 21:41:13 +0530 Subject: [PATCH] Cache dependencies on Travis CI (#62) This change will cache Go mod dependencies on Travis CI and speed up builds --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 01bf5b178fad..12c04e9e5f8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,7 @@ language: go +cache: + directories: + - /home/travis/gopath/pkg/mod go_import_path: github.com/open-telemetry/opentelemetry-service @@ -10,6 +13,7 @@ env: GO111MODULE=on install: + - go mod download - make install-tools script: