[nautilus/wip/oholy/ci: 2/6] ci: Move code from template directly to job



commit c7dc5a8a0ee6e5ee75d8ad901553016d30958183
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Mar 6 11:41:49 2020 +0100

    ci: Move code from template directly to job

 .gitlab-ci.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71e7339a4..d81b89972 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,12 +10,6 @@ stages:
     - cross_environment
     - deploy
 
-.test_template: &distro_test
-  script:
-      - meson _build .
-      - cd _build
-      - ninja test
-
 flatpak devel:
     extends: '.flatpak'
     image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
@@ -46,7 +40,10 @@ fedora rawhide:
         - dnf update -y --nogpgcheck
         - dnf install -y 'dnf-command(builddep)' redhat-rpm-config libseccomp-devel gcovr --nogpgcheck
         - dnf builddep -y nautilus --nogpgcheck
-    <<: *distro_test
+    script:
+        - meson _build .
+        - cd _build
+        - ninja test
     only:
         - schedules
         - web


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