Fix pip cache directory on CircleCI

This commit is contained in:
micbou 2018-04-16 17:43:46 +02:00
parent 9805abde44
commit 88ca541893
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05

View File

@ -22,14 +22,14 @@ aliases:
# Increase the version key to clear the cache. # Increase the version key to clear the cache.
save-cache: &save-cache save-cache: &save-cache
save_cache: save_cache:
key: v1-ycm-{{ .Environment.CIRCLE_JOB }} key: v2-ycm-{{ .Environment.CIRCLE_JOB }}
paths: paths:
- ~/Library/Caches/Homebrew - ~/Library/Caches/Homebrew
- ~/.cache/pip - ~/Library/Caches/pip
- ~/.pyenv - ~/.pyenv
restore-cache: &restore-cache restore-cache: &restore-cache
restore_cache: restore_cache:
key: v1-ycm-{{ .Environment.CIRCLE_JOB }} key: v2-ycm-{{ .Environment.CIRCLE_JOB }}
jobs: jobs:
python2: python2:
<<: *common <<: *common