Try to preserve both the pip and pipenv caches in Travis builds

This commit is contained in:
Danielle McLean 2018-05-28 11:50:15 +10:00
parent 382a79e6c7
commit a35a1283da
Signed by untrusted user: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -1,8 +1,11 @@
language: python language: python
cache: cache:
pip: true
directories: directories:
- $HOME/.local/share/virtualenvs - $PIP_CACHE_DIR
- $PIPENV_CACHE_DIR
env:
- PIP_CACHE_DIR=$HOME/.cache/pip
- PIPENV_CACHE_DIR=$HOME/.cache/pipenv
python: python:
- '3.6' - '3.6'
install: install: