diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e90b9b691cfc7ce4c6b4410ad147c0e5304cf3b..348efd61ce02e8cd328095ffab03741a843c5a7f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,7 @@ tests:
         - docker
     script:
         - if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi
+        - pip3 install -e .
         - pip3 install -e .[test]
         - pytest-3
     coverage: '/^TOTAL.+?(\d+\%)$/'
@@ -23,6 +24,7 @@ doc:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
         - if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi
+        - pip3 install -e .
         - pip3 install -e .[doc]
         - rm -Rf build
         - python3 setup.py build_sphinx