diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5f8ee422e5677b1c17265e499d503147d159bc55..75037aefa22fb2ac167e8c2005ee8f26b7d2b254 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,8 @@ image: python:3.8-alpine
 test:
   stage: test
   script:
-  - pip3 install -U sphinx sphinx-rtd-theme
+  - pip3 install -U sphinx 
+  - pip3 install sphinx-rtd-theme
   - sphinx-build -b html docs/source/ public/
   - branches
   except: