[d-feet/correctly-honour-theme-foreground-colour] fixup! Enable GitLab CI



commit 5491c23676bc3e4a5e0c52d75e22e40397f5499b
Author: Will Thompson <will willthompson co uk>
Date:   Tue Sep 18 16:00:30 2018 +0100

    fixup! Enable GitLab CI

 .gitlab-ci.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eec3909..389fd7b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,16 +5,19 @@ stages:
 
 before_script:
   - dnf update -y
-  - dnf install -y desktop-file-utils gettext glib2-devel gobject-introspection-devel gtk3-devel intltool 
itstool python3-devel python2-pep8 libappstream-glib libwnck3 python3-gobject make
+  - dnf install -y desktop-file-utils gettext glib2-devel gobject-introspection-devel gtk3-devel intltool 
itstool python3-devel python2-pep8 libappstream-glib libwnck3 python2-gobject python3-gobject make yelp-tools 
xorg-x11-server-Xvfb
 
+# TODO: split Python 2 and Python 3 builds entirely (or, better, require Python
+# 3). The tests are hardcoded to run Python 2...
 build:
   stage: build
   script:
     - PYTHON=python3 ./autogen.sh
     - make
-    - make check
+    - xvfb-run -a -s "-screen 0 1024x768x24" make check
   artifacts:
     when: on_failure
     name: "d-feet-${CI_COMMIT_REF_NAME}-${CI_JOB_NAME}"
     paths:
       - "${CI_PROJECT_DIR}/src/tests/test-suite.log"
+      - "${CI_PROJECT_DIR}/help/Makefile"


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