[d-feet/enable-gitlab-ci] Enable GitLab CI



commit 746eccaabca951ebbef8dc9f1cd005b5fa9679ff
Author: Will Thompson <will willthompson co uk>
Date:   Tue Sep 18 15:42:49 2018 +0100

    Enable GitLab CI

 .gitlab-ci.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..389fd7b
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+image: fedora:28
+
+stages:
+  - build
+
+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 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
+    - 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]