mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	gitlab-ci: install biplist if available, otherwise skip test_parse_ipa
Fedora does not have a biplist package.
This commit is contained in:
		
							parent
							
								
									6eee83db47
								
							
						
					
					
						commit
						dc7170e709
					
				
					 2 changed files with 16 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -99,6 +99,7 @@ debian_testing:
 | 
			
		|||
        git
 | 
			
		||||
        gnupg
 | 
			
		||||
        ipfs-cid
 | 
			
		||||
        python3-biplist
 | 
			
		||||
        python3-defusedxml
 | 
			
		||||
        python3-pycountry
 | 
			
		||||
        python3-setuptools
 | 
			
		||||
| 
						 | 
				
			
			@ -124,7 +125,14 @@ ubuntu_lts_ppa:
 | 
			
		|||
    - echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
 | 
			
		||||
    - apt-get update
 | 
			
		||||
    - apt-get dist-upgrade
 | 
			
		||||
    - apt-get install --install-recommends dexdump fdroidserver git python3-pycountry python3-setuptools sdkmanager
 | 
			
		||||
    - apt-get install --install-recommends
 | 
			
		||||
        dexdump
 | 
			
		||||
        fdroidserver
 | 
			
		||||
        git
 | 
			
		||||
        python3-biplist
 | 
			
		||||
        python3-pycountry
 | 
			
		||||
        python3-setuptools
 | 
			
		||||
        sdkmanager
 | 
			
		||||
 | 
			
		||||
    # Test things work with a default branch other than 'master'
 | 
			
		||||
    - git config --global init.defaultBranch thisisnotmasterormain
 | 
			
		||||
| 
						 | 
				
			
			@ -350,7 +358,7 @@ macOS:
 | 
			
		|||
    - /bin/bash -n gradlew-fdroid tests/run-tests
 | 
			
		||||
 | 
			
		||||
    # TODO remove the packages below once they are included in the Homebrew package
 | 
			
		||||
    - $(brew --prefix fdroidserver)/libexec/bin/python3 -m pip install pycountry
 | 
			
		||||
    - $(brew --prefix fdroidserver)/libexec/bin/python3 -m pip install biplist pycountry
 | 
			
		||||
 | 
			
		||||
    # test fdroidserver from git with current package's dependencies
 | 
			
		||||
    - fdroid="$(brew --prefix fdroidserver)/libexec/bin/python3 $PWD/fdroid" ./tests/run-tests
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue