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

View file

@ -1,11 +1,13 @@
image: python:3.6 image: python:3.6
variables: variables:
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal
PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache
PIPENV_VENV_IN_PROJECT: true
cache: cache:
paths: paths:
- ~/.cache/pip - .pip-cache
- ~/.local/share/virtualenvs - .venv
test: test:
script: script: