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 untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

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: