From edbef619e3d721ee47e510b023fecbc22fa99a6a Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Thu, 8 Aug 2019 23:11:01 +0000 Subject: [PATCH] gitlab-ci: add buster test and move doc and pages build Signed-off-by: Ivo De Decker --- .gitlab-ci.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae68a80..d398f19 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,18 @@ tests-stretch: - apt-get install -y python3 python3-apt python3-yaml python3-pycodestyle python3-pytest git rsync libclass-accessor-perl libdpkg-perl libyaml-syck-perl - ci/gitlab-ci-runner +tests-buster: + stage: test + image: debian:buster + script: + - apt-get update + - apt-get install -y python3 python3-apt python3-yaml python3-coverage python3-pycodestyle pycodestyle python3-pytest python3-pytest-cov git rsync libclass-accessor-perl libdpkg-perl libyaml-syck-perl + - ci/gitlab-ci-runner --with-coverage + artifacts: + paths: + - coverage + - codestyle + tests-sid: stage: test image: debian:sid @@ -20,7 +32,7 @@ tests-sid: docs: stage: test - image: debian:sid + image: debian:buster script: - apt-get update - apt-get install -y python3-sphinx @@ -34,7 +46,7 @@ pages: stage: deploy dependencies: - docs - - tests-sid + - tests-buster script: - rm -fr public - mkdir public