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

Cette révision appartient à :
Danielle McLean 2018-02-26 13:05:28 +11:00
Parent 58d8ca2a25
révision 345c9f9885
Signé par: 00dani
ID de la clé GPG: 5A5D2D1AFF12EEC5
1 fichiers modifiés avec 4 ajouts et 2 suppressions

Voir le fichier

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