Store the CI caches inside the project dir since that's the only place GitLab CI is allowed to cache

This commit is contained in:
Danielle McLean 2018-02-26 13:05:28 +11:00
parent 58d8ca2a25
commit 345c9f9885
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5
1 changed files with 4 additions and 2 deletions

View File

@ -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: