From a35a1283dadb687d412a693e75ede104ed4b0a13 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 28 May 2018 11:50:15 +1000 Subject: [PATCH] Try to preserve both the pip and pipenv caches in Travis builds --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c9f5330..855be5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: