Skip to content
Snippets Groups Projects
Commit e0f93b18 authored by David Hrbáč's avatar David Hrbáč
Browse files

Cache pip

parent 40ff0cb3
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!219Virtual environment, upgrade MKdocs, upgrade Material design
......@@ -3,6 +3,9 @@ stages:
- build
- deploy
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
docs:
stage: test
image: davidhrbac/docker-mdcheck:latest
......@@ -40,7 +43,15 @@ ext_links:
mkdocs:
stage: build
image: davidhrbac/docker-mkdocscheck:latest
cache:
paths:
- .cache/pip
- venv/
before_script:
- python -V # Print out python version for debugging
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- pip install -r requirements.txt
script:
- mkdocs -V
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment