mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
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:
parent
2d3e7ef950
commit
6570e85a2b
@ -80,6 +80,28 @@ ubuntu_lts:
|
|||||||
- cd tests
|
- cd tests
|
||||||
- ./run-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:
|
pip_install:
|
||||||
image: archlinux/base
|
image: archlinux/base
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user