From 6249716b039a12e77b7089239030859aefbc66ce Mon Sep 17 00:00:00 2001
From: Jeremy Commins <commins.jeremy@gmail.com>
Date: Tue, 2 Oct 2018 17:05:36 +0200
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bdd66a8..1768281 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,19 @@
-image: python:3.6-alpine
+image: python:3.6
 
+cache:
+  paths:
+    - .pip
+
+before_script:
+  - mkdir -p .pip
+  - pip install -U pip
+  - pip --cache-dir=.pip install sphinx
+  - pip --cache-dir=.pip install sphinx-autodoc-typehints
+  - pip --cache-dir=.pip install sphinx_rtd_theme
+  - pip --cache-dir=.pip install -r requirements.txt
+  
 pages:
   script:
-  - apk --no-cache add py3-pip python-dev
-  - pip install sphinx
-  - pip install sphinx-autodoc-typehints
-  - pip install sphinx_rtd_theme
-  - pip install -r requirements.txt
   - apk --no-cache add make
   - cd docs && make html
   - mv build/html/ public/
-- 
GitLab