mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
gitlab-ci: the ubuntu_lts test also tests the PPA
This commit is contained in:
parent
e2351f6c53
commit
a9b8687e94
@ -57,12 +57,14 @@ debian_testing:
|
|||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
|
||||||
# test using LTS set up with the PPA, including Recommends
|
# test using LTS set up with the PPA, including Recommends
|
||||||
ubuntu_lts:
|
ubuntu_lts_ppa:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
only:
|
only:
|
||||||
- master@fdroid/fdroidserver
|
- master@fdroid/fdroidserver
|
||||||
variables:
|
variables:
|
||||||
|
ANDROID_HOME: /usr/lib/android-sdk
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
LANG: C.UTF-8
|
||||||
script:
|
script:
|
||||||
- echo Etc/UTC > /etc/timezone
|
- echo Etc/UTC > /etc/timezone
|
||||||
- apt-get -qy update
|
- apt-get -qy update
|
||||||
@ -72,13 +74,13 @@ ubuntu_lts:
|
|||||||
- echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
|
- echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
|
||||||
- apt-get -qy update
|
- apt-get -qy update
|
||||||
- apt-get -qy dist-upgrade
|
- apt-get -qy dist-upgrade
|
||||||
- apt-get -qy install --install-recommends fdroidserver git python3-defusedxml python3-setuptools
|
- apt-get -qy install --install-recommends binfmt-support fdroidserver git python3-defusedxml python3-setuptools
|
||||||
- export ANDROID_HOME=/usr/lib/android-sdk
|
- grep binfmt /proc/modules || apt -qy purge apksigner
|
||||||
- export LANG=C.UTF-8
|
|
||||||
- cd tests
|
- cd tests
|
||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
|
||||||
# test using Xenial LTS with all depends from pypi
|
# test using Xenial LTS with all depends from pypi
|
||||||
|
# apksigner is recommended, but requires binfmt support in the kernel
|
||||||
ubuntu_xenial_pip:
|
ubuntu_xenial_pip:
|
||||||
image: ubuntu:xenial
|
image: ubuntu:xenial
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user