mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 16:31:32 +00:00
gitlab-ci: add buster test and move doc and pages build
Signed-off-by: Ivo De Decker <ivodd@debian.org>
This commit is contained in:
parent
8b0803e3bb
commit
edbef619e3
@ -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
|
- 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
|
- 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:
|
tests-sid:
|
||||||
stage: test
|
stage: test
|
||||||
image: debian:sid
|
image: debian:sid
|
||||||
@ -20,7 +32,7 @@ tests-sid:
|
|||||||
|
|
||||||
docs:
|
docs:
|
||||||
stage: test
|
stage: test
|
||||||
image: debian:sid
|
image: debian:buster
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y python3-sphinx
|
- apt-get install -y python3-sphinx
|
||||||
@ -34,7 +46,7 @@ pages:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- docs
|
- docs
|
||||||
- tests-sid
|
- tests-buster
|
||||||
script:
|
script:
|
||||||
- rm -fr public
|
- rm -fr public
|
||||||
- mkdir public
|
- mkdir public
|
||||||
|
Loading…
x
Reference in New Issue
Block a user