Commit e0f93b18 authored by David Hrbáč's avatar David Hrbáč

Cache pip

parent 40ff0cb3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment