Skip to content

Commit

Permalink
Cache dependencies on Travis CI (#62)
Browse files Browse the repository at this point in the history
This change will cache Go mod dependencies on Travis CI and speed up
builds
  • Loading branch information
owais authored and songy23 committed Jun 26, 2019
1 parent 5553892 commit 2ad0e1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: go
cache:
directories:
- /home/travis/gopath/pkg/mod

go_import_path: github.com/open-telemetry/opentelemetry-service

Expand All @@ -10,6 +13,7 @@ env:
GO111MODULE=on

install:
- go mod download
- make install-tools

script:
Expand Down

0 comments on commit 2ad0e1d

Please sign in to comment.