mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
gitlab-ci: drop support for Ubuntu/xenial, test on bionic now
xenial will become obsolete in April
This commit is contained in:
parent
5ae2703477
commit
f6b5f74ec6
1 changed files with 7 additions and 10 deletions
|
|
@ -84,7 +84,7 @@ debian_testing:
|
||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
|
||||||
# Test using latest LTS set up with the PPA, including Recommends.
|
# Test using latest LTS set up with the PPA, including Recommends.
|
||||||
# bionic's apksigner, which comes from Recommends:, requires binfmt
|
# focal's apksigner, which comes from Recommends:, requires binfmt
|
||||||
# support in the kernel.
|
# support in the kernel.
|
||||||
ubuntu_lts_ppa:
|
ubuntu_lts_ppa:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
|
|
@ -106,13 +106,11 @@ ubuntu_lts_ppa:
|
||||||
- cd tests
|
- cd tests
|
||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
|
||||||
# Test using Xenial LTS with all depends from pypi. The venv is used
|
# Test using Ubuntu/bionic LTS (supported til 2022) with all depends
|
||||||
# to isolate the dist tarball generation environment from the clean
|
# from pypi. The venv is used to isolate the dist tarball generation
|
||||||
# install environment. Xenial's pip is too old to install all the
|
# environment from the clean install environment.
|
||||||
# dependencies, so this has to uppgrade pip and setuptools in order to
|
ubuntu_bionic_pip:
|
||||||
# run the install.
|
image: ubuntu:bionic
|
||||||
ubuntu_xenial_pip:
|
|
||||||
image: ubuntu:xenial
|
|
||||||
<<: *apt-template
|
<<: *apt-template
|
||||||
script:
|
script:
|
||||||
- apt-get install git default-jdk-headless python3-pip python3-venv rsync zipalign libarchive13
|
- apt-get install git default-jdk-headless python3-pip python3-venv rsync zipalign libarchive13
|
||||||
|
|
@ -127,9 +125,8 @@ ubuntu_xenial_pip:
|
||||||
- deactivate
|
- deactivate
|
||||||
- tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo
|
- tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo
|
||||||
# back to bare machine to act as user's install machine
|
# back to bare machine to act as user's install machine
|
||||||
- $pip install --upgrade pip setuptools
|
- $pip install --upgrade pip setuptools wheel # make this go away: "error: invalid command 'bdist_wheel'"
|
||||||
- $pip install dist/fdroidserver-*.tar.gz
|
- $pip install dist/fdroidserver-*.tar.gz
|
||||||
- test -e /usr/share/locale/de/LC_MESSAGES/fdroidserver.mo
|
|
||||||
- tar xzf dist/fdroidserver-*.tar.gz
|
- tar xzf dist/fdroidserver-*.tar.gz
|
||||||
- cd fdroidserver-*
|
- cd fdroidserver-*
|
||||||
- ./tests/run-tests
|
- ./tests/run-tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue