gitlab-ci: new test case of pip installs on Ubuntu/trusty

Ubuntu/trusty is used as the base image for CI systems like Travis, as well
as Microsoft Subsystem for Linux.  SO we need to provide working options.
This commit is contained in:
Hans-Christoph Steiner 2018-05-14 11:22:00 +02:00
parent 2d3e7ef950
commit 6570e85a2b
1 changed files with 22 additions and 0 deletions

View File

@ -80,6 +80,28 @@ ubuntu_lts:
- cd tests
- ./run-tests
# test using TrustyLTS with all depends from pypi
ubuntu_trusty_pip:
image: ubuntu:trusty
only:
- master@fdroid/fdroidserver
variables:
DEBIAN_FRONTEND: noninteractive
LANG: C.UTF-8
script:
- 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
- rm -rf env
- pyvenv-3.4 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
- ./tests/run-tests
pip_install:
image: archlinux/base
only: