summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano1618@gmail.com>2018-03-19 21:56:41 +0000
committerCarlos Soriano <csoriano1618@gmail.com>2018-03-19 21:56:41 +0000
commitbc0aaf51914f3d42804870f5763746f94f729c27 (patch)
tree13b3a2c0b185d6e9e641f16a17fbf1c16fe90d4c /.gitlab-ci.yml
parenta338e32fdbffa2c0767831fad61fae861b771e30 (diff)
downloadnautilus-bc0aaf51914f3d42804870f5763746f94f729c27.tar.gz
CI: Fedora Rawhide: Remove coverage for now
We want that as part of the Flatpak build.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files 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