diff options
author | Marcus Asteborg <maastebo@microsoft.com> | 2020-06-15 13:00:25 -0700 |
---|---|---|
committer | Marcus Asteborg <maastebo@microsoft.com> | 2020-06-15 22:15:15 -0700 |
commit | 0c0c484f6caedd4ce675640465e59740292660cf (patch) | |
tree | 85e16ec05521afd7cc2d67a8b2c94f4e9db8689e /.gitlab-ci.yml | |
parent | b69bfb2a30df65e7f267dd6998276fa3986bd14b (diff) | |
download | libopus-0c0c484f6caedd4ce675640465e59740292660cf.tar.gz |
Add CI to check for trailing whitespaces in merge requests
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 502b08f2..739ffb4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,13 @@ default: # 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: |