diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e0f6146214e674c4c0fae99f06f937873d90894..b7aacdd3be4737f0d9b47fe6460a27c4c6d768cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,7 @@ doc:
     script:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
-        - pip3 install -e . --no-deps
+        - pip3 install -e .[doc]
         - sphinx-apidoc -o docs/source summit
         - cd docs/source
         - sphinx-build -b html . ../build
@@ -43,7 +43,7 @@ pages:
     script:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
-        - pip3 install -e . --no-deps
+        - pip3 install -e .[doc]
         - pytest-3
         - sphinx-apidoc -o docs/source summit
         - cd docs/source