diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08e3844621f16b025513b84caa241df839a7f695..7e6086372cba86ea79b87f72525c5adae3991611 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ tests:
     tags:
         - docker
     script:
+        - cd python
         - pip3 install --no-deps .
         - pytest-3
 
@@ -15,6 +16,7 @@ pages:
     only:
         - master
     script:
+        - cd python
         - pip3 install --no-deps .
         - python3 setup.py build_sphinx
         - cp -r build/sphinx/html public