[totem-pl-parser/wip/hadess/test-fixes] ci: Add gvfs to the test phase



commit 04dc7287d511ccd4dd20761f940e8614e58ca9ff
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 16 13:22:36 2019 +0100

    ci: Add gvfs to the test phase
    
    So that HTTP and udisks tests actually go through.

 .gitlab-ci.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6243969..d03c4c2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,14 @@
+variables:
+  DEPENDENCIES: redhat-rpm-config meson git gettext gtk-doc intltool meson glib2-devel libxml2-devel 
gobject-introspection-devel libgcrypt-devel libarchive-devel libquvi-devel
+  TEST_DEPS: gvfs udisks2 dbus-daemon
+
 build-fedora:
   image: fedora:latest
   before_script:
-    - dnf install -y redhat-rpm-config meson git gettext gtk-doc intltool meson glib2-devel libxml2-devel 
gobject-introspection-devel libgcrypt-devel libarchive-devel libquvi-devel
+    # Update
+    - dnf -y update && dnf install -y $DEPENDENCIES
   script:
     - meson _build
-    - ninja -C _build test
+    - dnf install -y $TEST_DEPS
+    - GIO_USE_VOLUME_MONITOR=unix dbus-run-session ninja -C _build test
     - ninja -C _build install


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