diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eea05b7522e644fcd268344ef138752dd16111de..8ee0895d67dfbd7eabab964602a7bbf1a5dff56a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,8 @@ tests:
         - docker
     script:
         - cd python
-        - pip3 install .
+        - pip3 install --no-deps ltfatpy madarrays yafe skpomade
+        - pip3 install --no-deps .
         - pytest-3
 
 # generate the documentation
@@ -17,6 +18,7 @@ pages:
         - master
     script:
         - cd python
+        - pip3 install --no-deps ltfatpy madarrays yafe skpomade
         - pip3 install --no-deps .
         - python3 setup.py build_sphinx
         - cp -r build/sphinx/html public