[gtk-doc] ci: install 'bc' and collect the test-suite log on failure



commit 525e0f0111df6f621447012d19d42e448b96e4a5
Author: Stefan Sauer <ensonic users sf net>
Date:   Fri Dec 14 16:47:44 2018 +0100

    ci: install 'bc' and collect the test-suite log on failure

 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7334975..052e988 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ image: debian:unstable
 before_script:
   - apt update -qq
   - apt install -y -qq --no-install-recommends
-                autoconf automake build-essential libtool make meson pkg-config
+                autoconf automake bc build-essential libtool make meson pkg-config
                 docbook docbook-xml docbook-xsl libxml2-utils xsltproc
                 libglib2.0-dev
                 python3 python3-dev python3-lxml python3-parameterized
@@ -36,6 +36,11 @@ autotools-test:
     - make check
     - make -C tests coverage
   coverage: '/^TOTAL\s+\d+\s+\d+\s+([\d.]+\%)/'
+  artifacts:
+    when: on_failure
+    name: "gtkdoc-testing-_${CI_COMMIT_REF_NAME}"
+    paths:
+      - "${CI_PROJECT_DIR}/tests/test-suite.log"
 
 # meson
 


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