From baf9f311db7fbde674d674fa38c7f2a5add27530 Mon Sep 17 00:00:00 2001
From: Matthias Volk <matthias.volk@cs.rwth-aachen.de>
Date: Mon, 12 Oct 2020 11:09:50 +0200
Subject: [PATCH] Travis: install numpy for tests

---
 setup.py               | 2 +-
 travis/build-helper.sh | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index a532d7e..d6c55ac 100755
--- a/setup.py
+++ b/setup.py
@@ -278,7 +278,7 @@ setup(
     tests_require=['pytest', 'nbval'],
     extras_require={
         "numpy":  ["numpy"],
-        "doc": ["sphinx", "sphinx_bootstrap_theme", "nbsphinx", "ipython", "ipykernel"], # also requires pandoc to be installed
+        "doc": ["Sphinx", "sphinx-bootstrap-theme", "nbsphinx", "ipython", "ipykernel"], # also requires pandoc to be installed
     },
     python_requires='>=3',
 )
diff --git a/travis/build-helper.sh b/travis/build-helper.sh
index bd987b9..aae3025 100755
--- a/travis/build-helper.sh
+++ b/travis/build-helper.sh
@@ -64,6 +64,8 @@ run() {
   # Perform tasks
   if [[ "$TASK" == *Test* ]]
   then
+    # Install dependencies for tests
+    pip install numpy # Used in sphinx tests
     # Run tests
     python setup.py test
   fi