[glib: 1/2] ci: Disable the coverage CI job when running dist on a release
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] ci: Disable the coverage CI job when running dist on a release
- Date: Thu, 30 Aug 2018 14:24:51 +0000 (UTC)
commit 3ced28df3ecb157111846907580108ffeb00244a
Author: Philip Withnall <withnall endlessm com>
Date: Thu Aug 30 13:50:45 2018 +0100
ci: Disable the coverage CI job when running dist on a release
It fails because dist-job (correctly) doesn’t build with the code
coverage CFLAGS enabled.
Leave coverage to be generated on master and development branches.
See this pipeline for an example of when it fails:
https://gitlab.gnome.org/GNOME/glib/pipelines/26349
Signed-off-by: Philip Withnall <withnall endlessm com>
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bed21643a..862153b95 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -162,6 +162,8 @@ freebsd-11-x86_64:
coverage:
stage: coverage
+ except:
+ - tags
artifacts:
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]