[tracker/wip/carlosg/test] test



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

    test

 .gitlab-ci.yml | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 75470763b..2b8e9224a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,18 @@
 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)' meson ninja-build dbus-devel --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_[^=]*')
+        - ninja test


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