From 824f35a716e10e18d49be283bf733edae39870b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org>
Date: Thu, 19 Jan 2017 13:16:41 +0100
Subject: [PATCH] Skip full builds on gitlab-ci-documentation branch and on
 tags

---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f00a89926..25d067fb94 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -48,18 +48,27 @@ stages:
 configure:ubuntu:amd64:
   <<: *ubuntu_xenial
   <<: *configure_job
+  except:
+    - gitlab-ci-documentation
+    - tags
 
 build:ubuntu:amd64:
   <<: *ubuntu_xenial
   <<: *build_job
   dependencies:
     - configure:ubuntu:amd64
+  except:
+    - gitlab-ci-documentation
+    - tags
 
 test:ubuntu:amd64:
   <<: *ubuntu_xenial
   <<: *test_job
   dependencies:
     - build:ubuntu:amd64
+  except:
+    - gitlab-ci-documentation
+    - tags
 
 configure:debian:stretch:amd64:
   <<: *debian_stretch
-- 
GitLab