diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85fce0f807cd83f0db15510dcbdc264587fd5367..8ea836ceaf00c846992a7f2bed9dc65bdb252c14 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,12 @@
 # The Docker image that will be used to build your app
 image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest
 
+test:
+  script:
+    - hugo
+  except:
+    - master
+
 pages:
   stage: deploy
   script: