Skip to content

Commit 8dcabc5

Browse files
author
Pan
committed
Cache brew dir on travis
1 parent fdee21e commit 8dcabc5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ cache:
33
- pip
44
- directories:
55
- "$HOME/.pyenv"
6+
- "$HOME/Library/Caches/Homebrew"
67
notifications:
78
email: false
89
sudo: required
@@ -47,8 +48,11 @@ jobs:
4748
osx_image: xcode9.2
4849
env:
4950
- SYSTEM_LIBSSH2: 1
51+
before_cache:
52+
- brew cleanup
5053
before_install:
5154
- brew update
55+
- brew install ccache
5256
- brew outdated openssl || travis_wait brew upgrade openssl || echo "y"
5357
- brew link --overwrite python@2 || brew install python@2 || brew link --overwrite python@2
5458
- which python2

0 commit comments

Comments
 (0)