1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00

gitlab-ci: move pip job to Xenial, Trusty is over

This commit is contained in:
Hans-Christoph Steiner 2019-07-01 11:22:32 +02:00
parent 7381a94b47
commit e2351f6c53

View File

@ -78,9 +78,9 @@ ubuntu_lts:
- cd tests
- ./run-tests
# test using TrustyLTS with all depends from pypi
ubuntu_trusty_pip:
image: ubuntu:trusty
# test using Xenial LTS with all depends from pypi
ubuntu_xenial_pip:
image: ubuntu:xenial
only:
- master@fdroid/fdroidserver
variables:
@ -90,11 +90,10 @@ ubuntu_trusty_pip:
- echo Etc/UTC > /etc/timezone
- apt-get -qy update
- apt-get -qy dist-upgrade
- apt-get -qy install git default-jdk python3-pip python3.4-venv
- apt-get -qy install --no-install-recommends git default-jdk-headless python3-pip python3-venv rsync zipalign
- rm -rf env
- pyvenv-3.4 env
- pyvenv env
- . env/bin/activate
- echo sed -i "s/'requests.*',$/'requests',/" setup.py
- pip3 install --upgrade babel pip setuptools
- pip3 install -e .
- ./setup.py compile_catalog