diff options
author | Sean Paul <seanpaul@chromium.org> | 2018-09-04 15:30:29 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-09-05 12:49:58 +0000 |
commit | 592c98a0fe561320dd91dfbec6f40ccbc38c398c (patch) | |
tree | 70a7175cb034c86bcc0006fb0d0c9295d1fa3bc5 /.gitlab-ci.yml | |
parent | 9b6cafd4e218556b56ccfa7b5e933a808c5353fd (diff) | |
download | drm_hwcomposer-592c98a0fe561320dd91dfbec6f40ccbc38c398c.tar.gz |
drm_hwcomposer: Pull CI check into dedicated script
This will be useful for adding more functionality to it. It's not very
practical to script inside the yml.
Change-Id: I71aa6b40d282f750eb9bce65dd2cfd9e2828905b
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24c4a0a..d0175f0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,12 +7,9 @@ before_script: stages: - style -clang-format: +checkstyle: stage: style - script: - - git fetch https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer.git - - git diff -U0 --no-color FETCH_HEAD...HEAD -- | clang-format-diff-5.0 -p 1 -style=file > format-fixup.patch - - if [ -s format-fixup.patch ]; then cat format-fixup.patch && exit 1; fi + script: "./.gitlab-ci-checkcommit.sh" artifacts: when: on_failure paths: |