summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2020-03-06 11:41:49 +0100
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2020-04-05 16:22:26 +0000
commit9899617174be6752066506874f41f3bd0e10b090 (patch)
tree98a5b08483ad7d96a64a30c00eb8599f3e2098ab /.gitlab-ci.yml
parent0c91a64a435652951bfd13b5404ceffd2483c8a7 (diff)
downloadnautilus-9899617174be6752066506874f41f3bd0e10b090.tar.gz
ci: Move code from template directly to job
The distro_test template is used only by one job. Let's move the code directly to that job to make the file more readable.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ca21a29f..b789b9e0e 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'
stage: test
@@ -47,7 +41,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