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>
This commit is contained in:
Philip Withnall 2018-08-30 13:50:45 +01:00
parent 503eda2dea
commit 3ced28df3e

View File

@ -162,6 +162,8 @@ freebsd-11-x86_64:
coverage:
stage: coverage
except:
- tags
artifacts:
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths: