diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5b20de79ae14abf02272bfc9a22db6735c71a5f2..e531e779321278e4b6e980d87e7d17eac28df810 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,7 @@ services:
 
 stages:
   - build
+  - test
 
 build:
   image: openjdk:8
@@ -14,4 +15,13 @@ build:
   before_script:
     - ls -lah *
   script:
-    - ./gradlew --no-daemon build
+    - ./gradlew assemble
+
+test:
+  image: openjdk:8
+  stage: test
+  script:
+    - ./gradlew test
+  artifacts:
+    reports:
+      junit: build/test-results/test/TEST-*.xml