From bc0aaf51914f3d42804870f5763746f94f729c27 Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Mon, 19 Mar 2018 21:56:41 +0000 Subject: CI: Fedora Rawhide: Remove coverage for now We want that as part of the Flatpak build. --- .gitlab-ci.yml | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39f39ceae..b913dcda2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,36 +35,13 @@ flatpak:master: paths: - .flatpak-builder/cache -# Pick any distro to build the coverage fedora:rawhide: image: fedora:rawhide stage: cross_distro script: - - dnf install -y 'dnf-command(builddep)' redhat-rpm-config gcovr - # Waiting for gcovr 3.5 to be released. - - pip install git+https://github.com/gcovr/gcovr.git + - dnf install -y 'dnf-command(builddep)' redhat-rpm-config - dnf builddep -y nautilus - - meson _build . -Db_coverage=true - # Coverage data contains paths relative to the build directory, - # so changing to it makes writing filter expressions easier. - # - # _build/src/ contains generated sources, so that is filtered out as well. - - cd _build - - ninja test - - gcovr --root=. - --exclude=src/ - --exclude=../data/ - --exclude=../eel/check-program.c - --exclude=../eel/eel-debug.c - --exclude=../eel/eel-lib-self-check-functions.c - --exclude=../eel/eel-self-checks.c - --exclude=../src/animation/ - --exclude=../src/gtk/ - --exclude=../src/nautilus-lib-self-check-functions.c - --exclude=../src/nautilus-self-check-functions.c - --exclude=../subprojects/libgd/ - --exclude=../test/ - coverage: '/^TOTAL.*\s+(\d+\%)$/' + <<: *distro_test only: - schedules - web -- cgit v1.2.1