diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 26c382ff41729ba38544275803441f2294a2c304..483bce6f5b58b908542f7eee224f350bb919258b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,8 +38,13 @@ test_EDWIN_windows:
 pages:  
   stage:  
     deploy
-  script:  
-  - pip install -e .
+  script:
+  - apt-get update
+  - apt-get -y install make
+  - pip install --upgrade pip
+  - pip install sphinx --upgrade
+  - pip install nbsphinx --upgrade
+  - pip install -e .[test]
   - cd docs; make html
   - cd ../; mv docs/build/html public/
   artifacts: