From f06c2efc85bd1afe4cd0754b8ba406a4ca1228b0 Mon Sep 17 00:00:00 2001
From: Joseph Weston <joseph@weston.cloud>
Date: Mon, 12 Mar 2018 16:37:34 +0100
Subject: [PATCH] use latest matplotlib when generating the documentation

Closes #171
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 66b67d79..1b246ab9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,7 @@ check for dependencies installed:
 build documentation:
   stage: test
   script:
+    - pip3 install --upgrade matplotlib
     - make -C doc realclean; make -C doc html SPHINXOPTS='-A website_deploy=True -n -W' REFNAME="${CI_COMMIT_TAG:-$CI_COMMIT_SHA}" SOURCE_URL="$CI_PROJECT_URL"/blob
   artifacts:
     paths:
@@ -67,6 +68,7 @@ build PDF documentation:
   stage: test
   script:
     - pip3 install sympy
+    - pip3 install --upgrade matplotlib
     - make -C doc latex SPHINXOPTS='-n -W'
     - cd doc/build/latex
     - make all-pdf
-- 
GitLab