mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +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
 | 
			
		||||
    - 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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user