diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f04e88aa6490e66e79c2a7bffcf7232f234068e..2a9e8d6c84c2dd028cc1e6bfa4ac106e7a239579 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,7 +29,7 @@ test_py37:
     script:
       - apt-get -y update
       - pip install pytest pytest-cov
-      - pip install -e .
+      - pip install .
       - pytest eossr/
         --junitxml=junit_py37.xml
         --color=yes
@@ -87,6 +87,7 @@ pages:
     script:
       - apt update --yes && apt install --yes pandoc pip
       - pip install -U -r docs/doc_requirements.txt
+      - pip install .
       - sphinx-build -b html docs public
     artifacts:
       paths: