From d90b944ea3b2b6268f388412dcbf3c69eb4866e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz>
Date: Tue, 17 Oct 2017 11:05:40 +0200
Subject: [PATCH] two spaces check is NOT again mandatory as of now

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ffc46b0df..e4c218c54 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,9 +12,10 @@ docs:
 two spaces:
   stage: test
   image: davidhrbac/docker-mdcheck:latest
+  allow_failure: true
   before_script:
   - echo "== Files having more than one space betwee two characters =="
-  - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]]  [[:alpha:]]" -l {} + || true
+  - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]]  [[:alpha:]]" {} +
   script:
   - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]]  [[:alpha:]]" -l {} + | grep docs.it4i/ -v
 
-- 
GitLab