[gvfs/wip/oholy/gnome-build-meta: 4/4] ci: Test suite integration



commit e15a1fcd82c33cf2d67bcbc7597fa19636306bed
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Jan 18 14:08:15 2019 +0100

    ci: Test suite integration
    
    This patch finally integrates our test suite in GitLab CI. Unfortunately,
    many tests are skipped currently, because I was not able to make them work
    in the Docker container yet.

 .gitlab-ci.yml        | 5 +++--
 .gitlab-ci/Dockerfile | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85f7d50b..2caf7a88 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,9 @@
 fedora:
     image: $CI_REGISTRY_IMAGE
     script:
-        - meson build --werror
-        - ninja -C build
+        - meson -Dinstalled_tests=true --prefix /usr --werror build
+        - ninja -C build install
+        - GIO_USE_VOLUME_MONITOR=unix gnome-desktop-testing-runner gvfs
 
 gnome-build-meta:
     image: buildstream/buildstream-fedora:master-123-abef70fe
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 73d876cf..a7c24688 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -1,6 +1,6 @@
 FROM fedora:rawhide
 
-RUN dnf install -y avahi-devel avahi-glib-devel dbus-glib-devel docbook-style-xsl fuse-devel gcc gcr-devel 
gettext-devel glib2-devel gnome-online-accounts-devel libarchive-devel libbluray-devel libcap-devel 
libcdio-paranoia-devel libexif-devel libgcrypt-devel libgdata-devel libgphoto2-devel libgudev-devel 
libimobiledevice-devel libmtp-devel libnfs-devel libplist-devel libsecret-devel libsmbclient-devel 
libsoup-devel libtalloc-devel libudisks2-devel libusb-devel libxslt-devel meson openssh-clients 
pkgconf-pkg-config polkit-devel systemd-devel \
+RUN dnf install -y avahi-devel avahi-glib-devel dbus-glib-devel docbook-style-xsl fuse-devel gcc gcr-devel 
gettext-devel glib2-devel gnome-online-accounts-devel libarchive-devel libbluray-devel libcap-devel 
libcdio-paranoia-devel libexif-devel libgcrypt-devel libgdata-devel libgphoto2-devel libgudev-devel 
libimobiledevice-devel libmtp-devel libnfs-devel libplist-devel libsecret-devel libsmbclient-devel 
libsoup-devel libtalloc-devel libudisks2-devel libusb-devel libxslt-devel meson openssh-clients 
pkgconf-pkg-config polkit-devel systemd-devel gnome-desktop-testing dbus-daemon python3-twisted 
python3-gobject procps-ng bzip2 \
  && dnf clean all
 
 RUN dnf install -y --best elfutils-libelf-devel gamin-devel gcc gcc-c++ gdbm gettext git glibc-devel 
glibc-headers gtk-doc libattr-devel libffi-devel libmount-devel libselinux-devel ninja-build pcre-devel 
python3-devel systemtap-sdt-devel zlib-devel \


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