From 7639cb6d3d94be7fc6f765056597240806e08be1 Mon Sep 17 00:00:00 2001 From: Owais Lone Date: Wed, 26 Jun 2019 17:34:25 +0530 Subject: [PATCH] Cache dependencies on Travis CI 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 01bf5b178fa..12c04e9e5f8 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: