[nautilus/gcovr-upstream: 3/4] CI: install gcovr from upstream



commit 9898636bea88903028987cd67f7a725462853f83
Author: Ernestas Kulik <ernestask gnome org>
Date:   Sun Mar 11 11:41:47 2018 +0200

    CI: install gcovr from upstream
    
    The fix that we need has been merged, but the release will not happen
    very soon.

 .gitlab-ci.yml | 31 ++++++++++++++++---------------
 1 file 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+\%)$/'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]