From: Hans-Christoph Steiner Date: Wed, 6 Dec 2017 09:13:45 +0000 (+0100) Subject: gitlab-ci: add `pip install` test on Arch Linux X-Git-Tag: 1.0.0~43^2~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=dda9c8b77422a7c2c9eb3af75222d30912831358;p=fdroidserver.git gitlab-ci: add `pip install` test on Arch Linux --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ed32ba3..3460f092 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,25 @@ ubuntu_lts: - cd tests - ./run-tests +pip_install: + image: archlinux/base + only: + - master@fdroid/fdroidserver + script: + - pacman --sync --sysupgrade --refresh --noconfirm grep python-pip python-virtualenv tar + # setup venv to act as release build machine + - python -m venv sdist-env + - . sdist-env/bin/activate + - ./setup.py compile_catalog sdist + - deactivate + - tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo + # back to bare machine to act as user's install machine + - pip install dist/fdroidserver-*.tar.gz + - test -e /usr/share/locale/de/LC_MESSAGES/fdroidserver.mo + - fdroid + - fdroid readmeta + - fdroid update --help + fedora_latest: image: fedora:latest only: