From f1567355d90032e1e04ee23fc8d0f6541260ad0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 10 Apr 2018 16:58:58 +0100 Subject: .gitlab-ci.yml: Create template for linux-tests job --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a31e0fa29..7d590263f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,7 +64,7 @@ source_dist: # Run premerge commits # -linux-tests: +.linux-tests-template: &linux-tests stage: test variables: PYTEST_ADDOPTS: "--color=yes" @@ -91,6 +91,10 @@ linux-tests: dependencies: - source_dist +debian-8-tests: + <<: *linux-tests + + unix-tests: # Use fedora here, to a) run a test on fedora and b) ensure that we # can get rid of ostree - this is not possible with debian-8 @@ -168,7 +172,7 @@ coverage: - coverage combine --rcfile=../.coveragerc -a coverage.unix - coverage report --rcfile=../.coveragerc -m dependencies: - - linux-tests + - debian-8-tests - unix-tests - source_dist -- cgit v1.2.1