Skip to content

Commit

Permalink
ci: Tweak cache and before_cache steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Aug 22, 2020
1 parent dd85efd commit 6ec58d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,20 @@ matrix:
env:
- PYTHON_VERSION=2.7.15

before_cache:
# Cleanup to avoid the cache to grow indefinitely as new package versions are released
# see https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci
- brew cleanup

cache:
directories:
# Cache downloaded bottles
- $HOME/Library/Caches/Homebrew
# pyenv
- $HOME/.pyenv_cache
- $HOME/.pyenv/versions/3.7.8
- $HOME/.pyenv/versions/2.7.15
# scikit-ci-addons
- $HOME/downloads

before_install:
Expand Down

0 comments on commit 6ec58d7

Please sign in to comment.