diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 770e9c583818aa7f940af817858e0c363d1600ba..51ef733ea16c05341b72a26fe3253b594beeb71d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,15 +9,15 @@ docs: script: - mdl -r ~MD013,~MD033,~MD014,~MD026,~MD037,~MD036,~MD010,~MD029 *.md docs.it4i -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' ! -path "docs.it4i/software*" -exec grep -nr "[[:alpha:]] [[:alpha:]]" -l {} + - script: - - find docs.it4i/ -name '*.md' ! -path "docs.it4i/software*" -exec grep -nr "[[:alpha:]] [[:alpha:]]" -l {} + && exit 1 || exit 0 +#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' ! -path "docs.it4i/software*" -exec grep -nr "[[:alpha:]] [[:alpha:]]" -l {} + +# script: +# - find docs.it4i/ -name '*.md' ! -path "docs.it4i/software*" -exec grep -nr "[[:alpha:]] [[:alpha:]]" -l {} + capitalize: stage: test