Skip to content

Commit

Permalink
Improve cache by not storing ORIG_HEAD (#158)
Browse files Browse the repository at this point in the history
* Improve cache by not storing ORIG_HEAD

`glide install` step seems to touch this file. If we remove it, the
cache will not need to be updated with every step.
  • Loading branch information
motiejus authored Jul 6, 2016
1 parent 6a77220 commit 2abc28c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ after_success:
cache:
directories:
- $HOME/.glide/cache

before_cache: # glide touches ORIG_HEAD on `glide install`
- find $HOME/.glide/cache -name ORIG_HEAD -exec rm {} \;

0 comments on commit 2abc28c

Please sign in to comment.