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 - cd tests
- ./run-tests - ./run-tests
# test using TrustyLTS with all depends from pypi # test using Xenial LTS with all depends from pypi
ubuntu_trusty_pip: ubuntu_xenial_pip:
image: ubuntu:trusty image: ubuntu:xenial
only: only:
- master@fdroid/fdroidserver - master@fdroid/fdroidserver
variables: variables:
@ -90,11 +90,10 @@ ubuntu_trusty_pip:
- echo Etc/UTC > /etc/timezone - echo Etc/UTC > /etc/timezone
- apt-get -qy update - apt-get -qy update
- apt-get -qy dist-upgrade - 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 - rm -rf env
- pyvenv-3.4 env - pyvenv env
- . env/bin/activate - . env/bin/activate
- echo sed -i "s/'requests.*',$/'requests',/" setup.py
- pip3 install --upgrade babel pip setuptools - pip3 install --upgrade babel pip setuptools
- pip3 install -e . - pip3 install -e .
- ./setup.py compile_catalog - ./setup.py compile_catalog