From 6570e85a2b5c9c4ecb43e20a07b88fb1237a32a1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 14 May 2018 11:22:00 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 210bbbc2..2dbea825 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: