[tracker/wip/carlosg/test] test



commit 86620a57f196c890441ebc501498e006cc8df04c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Nov 5 16:40:33 2018 +0100

    test

 .gitlab-ci.yml | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 75470763b..a3ae21bc1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,19 @@
 stages:
   - test
 
-test-fedora-latest:
-  stage: test
-  image: registry.gitlab.gnome.org/sthursfield/tracker-oci-images/amd64/fedora:latest
-
-  script:
-    - su tracker -c 'mkdir build'
-    - su tracker -c 'cd build; meson ..'
-    - su tracker -c 'cd build; ninja'
-    - |
-      # Remove the many "CI_" variables from the environment. Meson dumps the
-      # whole environment for every failed test, and that gives a whole
-      # screenful of junk each time unless we strip these.
-      unset $(env|grep -o '^CI_[^=]*')
-
-      su tracker -c 'cd build; LANG=en_US.UTF8 dbus-launch meson test --print-errorlogs'
+fedora:rawhide:
+    image: fedora:rawhide
+    stage: test
+    before_script:
+        - dnf install -y 'dnf-command(builddep)' redhat-rpm-config meson ninja-build dbus-devel python2 
tracker --nogpgcheck
+        - dnf builddep -y tracker --nogpgcheck
+    script:
+        - meson _build .
+        - cd _build
+        - |
+          # Remove the many "CI_" variables from the environment. Meson dumps the
+          # whole environment for every failed test, and that gives a whole
+          # screenful of junk each time unless we strip these.
+          unset $(env|grep -o '^CI_[^=]*')
+        - export LANG=en_US.UTF8
+        - dbus-launch meson test --print-errorlogs


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