diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c10492689313f0d710ec2e39135259fda3053ed1..ebca2a4cbf1519bce1130af6aa84059dd8fcb8ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,14 +5,9 @@ stages:
     - test
     - deploy
 
-
-installSetupTools:
-    stage: build
-    script: pip install setuptools
-
-installPackage:
-    stage: build
-    script: pip install -e .
+before_script:
+    - pip install setuptools
+    - pip install -e .
 
 simpleTest:
     stage: test