ref: 0c0c484f6caedd4ce675640465e59740292660cf
parent: b69bfb2a30df65e7f267dd6998276fa3986bd14b
author: Marcus Asteborg <maastebo@microsoft.com>
date: Mon Jun 15 09:00:25 EDT 2020
Add CI to check for trailing whitespaces in merge requests
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,13 @@
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc
+whitespace:
+ stage: test
+ only:
+ - merge_requests
+ script:
+ - git diff-tree --check origin/master HEAD
+
autoconf:
stage: build
before_script: