summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-11 11:41:47 +0200
committerErnestas Kulik <ernestas.kulik@gmail.com>2018-03-12 15:37:33 +0000
commit9898636bea88903028987cd67f7a725462853f83 (patch)
treede9214f25760238b6156e4371d13a71ea89e22b5 /.gitlab-ci.yml
parentee55096a9e36e7246afe655134c2f1bfb135a5bb (diff)
downloadnautilus-9898636bea88903028987cd67f7a725462853f83.tar.gz
CI: install gcovr from upstream
The fix that we need has been merged, but the release will not happen very soon.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml31
1 files changed, 16 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 881d3b253..59a082555 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,8 @@ before_script:
gobject-introspection-devel libselinux-devel
libxml2-devel tracker-devel desktop-file-utils
libgexiv2-devel gcovr
+# Waiting for gcovr 3.5 to be released.
+ - pip install git+https://github.com/gcovr/gcovr.git
# Coverage data contains paths relative to the build directory,
# so changing to it makes writing filter expressions easier.
@@ -22,18 +24,17 @@ test:
- meson _build . -Db_coverage=true -Ddisplay-tests=false
- cd _build
- ninja test
-# git blame me and read the log. ;)
-# - 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+\%)$/'
+ - 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+\%)$/'