Skip to content

Commit

Permalink
Store Golang build and package cache in TravisCI's build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dhui committed Jan 4, 2019
1 parent f2460fe commit ee6d5a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ matrix:
- go: "1.11.x"
- go: master

cache:
directories:
- $GOPATH/pkg
- $GOCACHE

before_install:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin $GOLANGCI_LINT_VERSION

Expand Down

0 comments on commit ee6d5a0

Please sign in to comment.