diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 02cf7e8ac331e0bb7dc2725c5f3c87a1f5dd0cfe..18f033ca51c679273594df8def91134a13af4c30 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,18 @@
+image: ruby:2.3
+
+test:
+  stage: test
+  script:
+  - gem install jekyll
+  - jekyll build -d test
+  artifacts:
+    paths:
+    - test
+  except:
+  - master
+
 pages:
   stage: deploy
-  image: ruby:2.1
   script:
   - gem install jekyll
   - jekyll build -d public
@@ -8,4 +20,4 @@ pages:
     paths:
     - public
   only:
-  - master
\ No newline at end of file
+  - master