From 345c9f98851e270fdfab6be0db10b6d735617703 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 26 Feb 2018 13:05:28 +1100 Subject: [PATCH] Store the CI caches inside the project dir since that's the only place GitLab CI is allowed to cache --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4db48fc..f22d17f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,13 @@ image: python:3.6 variables: GIT_SUBMODULE_STRATEGY: normal + PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache + PIPENV_VENV_IN_PROJECT: true cache: paths: - - ~/.cache/pip - - ~/.local/share/virtualenvs + - .pip-cache + - .venv test: script: