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.
This commit is contained in:
Ondrej Holy 2020-03-06 11:41:49 +01:00 committed by António Fernandes
parent 0c91a64a43
commit 9899617174

View file

@ -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