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: 00dani
GPG Key ID: 8EB789DDF3ABD240
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
language: python
cache:
pip: true
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:
- '3.6'
install: