diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f5b34b1c2ff73d57f6e529534c6a9d530f88818..13d1aa7125d58e7e2aa33f0d371ab4319c4879c7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,16 @@
 image: ruby:2.3
 
-build:
+stages:
+- build
+- test
+
+build_job:
   stage: build
   script:
     - bash ci-build.sh
 
 # run tests using the binary built before
-test:
+test_job:
   stage: test
   script:
     - bash ci-test.sh