Skip to content

Commit 759f8df

Browse files
committed
1 parent e29df07 commit 759f8df

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,15 @@ matrix:
1818
env:
1919
- PYTHON_VERSION=2.7.15
2020

21+
before_cache:
22+
# Cleanup to avoid the cache to grow indefinitely as new package versions are released
23+
# see https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci
24+
- brew cleanup
25+
2126
cache:
2227
directories:
28+
# Cache downloaded bottles
29+
- $HOME/Library/Caches/Homebrew
2330
- $HOME/.pyenv_cache
2431
- $HOME/.pyenv/versions/3.7.8
2532
- $HOME/.pyenv/versions/2.7.15

0 commit comments

Comments
 (0)