diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f10cff1bad71328d3772b18b354dcb55045f5144..55f604455b46b6d7d24a37978a0593079c9f574d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,35 +47,16 @@ services:
 image: $CI_REGISTRY_IMAGE
 stages:
     - setup
-    - code-generation
-    - build
     - test
-    - clean
     - deploy
 
-#########
-# Build
-#########
-
-# compile the server
-build:server:
-    stage: build
+test:
+    stage: test
     script:
         - make easy-units
         - mvn dependency:purge-local-repository
         - mvn antlr4:antlr4
         - mvn compile
-
-########
-# Test
-########
-
-# junit tests for the server
-test:server:
-    stage: test
-    dependencies:
-        - build:server
-    script:
         - echo "defaultRealm = CaosDB" > conf/ext/usersources.ini
         - mvn test