Browse Source

gitlab-ci: add buster test and move doc and pages build

Signed-off-by: Ivo De Decker <ivodd@debian.org>
devuan-deployment
Ivo De Decker 1 year ago
parent
commit
edbef619e3
1 changed files with 14 additions and 2 deletions
  1. +14
    -2
      .gitlab-ci.yml

+ 14
- 2
.gitlab-ci.yml View File

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


Loading…
Cancel
Save