From dda9c8b77422a7c2c9eb3af75222d30912831358 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 6 Dec 2017 10:13:45 +0100 Subject: [PATCH] gitlab-ci: add `pip install` test on Arch Linux --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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: -- 2.30.2