[dconf] Also build, test, and generate coverage reports in the deploy stage such that the coverage can be re



commit 4a73985c3c3153709e5f22a51cd1262c9f647842
Author: Daniel Playfair Cal <daniel playfair cal gmail com>
Date:   Mon Aug 13 12:44:42 2018 +1000

    Also build, test, and generate coverage reports in the deploy stage such that the coverage can be reported

 .gitlab-ci.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e355de3..868c797 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,8 +67,12 @@ pages:
   only:
     - master
   script:
-    - meson -Dgtk_doc=true _build .
-    - ninja -C _build dconf-doc
+    - meson -Db_coverage=true -Dgtk_doc=true _build .
+    - ninja -C _build all dconf-doc
+    - mkdir -p _coverage
+    - lcov --rc lcov_branch_coverage=1 --directory _build --capture --initial --output-file 
"_coverage/${CI_JOB_NAME}-baseline.lcov"
+    - meson test -C _build --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER}
+    - lcov --rc lcov_branch_coverage=1 --directory _build --capture --output-file 
"_coverage/${CI_JOB_NAME}.lcov"
     - mkdir -p public/
     - mv _build/docs/html/ public/docs/
     - mv _coverage/ public/coverage/


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