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:
parent
58d8ca2a25
commit
345c9f9885
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue