mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 09:21:07 +03:00
Run test on sdist
This commit is contained in:
parent
2a265cbc0b
commit
df160170ca
1 changed files with 9 additions and 13 deletions
|
@ -113,24 +113,12 @@ ubuntu_lts_ppa:
|
||||||
ubuntu_xenial_pip:
|
ubuntu_xenial_pip:
|
||||||
image: ubuntu:xenial
|
image: ubuntu:xenial
|
||||||
<<: *apt-template
|
<<: *apt-template
|
||||||
only:
|
|
||||||
- master@fdroid/fdroidserver
|
|
||||||
script:
|
script:
|
||||||
- apt-get install git default-jdk-headless python3-pip python3-venv rsync zipalign libarchive13
|
- apt-get install git default-jdk-headless python3-pip python3-venv rsync zipalign libarchive13
|
||||||
- rm -rf env
|
- rm -rf env
|
||||||
- pyvenv env
|
- pyvenv env
|
||||||
- . env/bin/activate
|
- . env/bin/activate
|
||||||
- $pip install --upgrade babel pip setuptools
|
- $pip install --upgrade babel pip setuptools
|
||||||
- $pip install -e .
|
|
||||||
- ./setup.py compile_catalog
|
|
||||||
- ./tests/run-tests
|
|
||||||
|
|
||||||
pip_install:
|
|
||||||
image: archlinux/base
|
|
||||||
only:
|
|
||||||
- master@fdroid/fdroidserver
|
|
||||||
script:
|
|
||||||
- pacman --sync --sysupgrade --refresh --noconfirm git grep python-pip python-virtualenv tar
|
|
||||||
# setup venv to act as release build machine
|
# setup venv to act as release build machine
|
||||||
- python -m venv sdist-env
|
- python -m venv sdist-env
|
||||||
- . sdist-env/bin/activate
|
- . sdist-env/bin/activate
|
||||||
|
@ -138,8 +126,16 @@ pip_install:
|
||||||
- deactivate
|
- deactivate
|
||||||
- tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo
|
- tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo
|
||||||
# back to bare machine to act as user's install machine
|
# back to bare machine to act as user's install machine
|
||||||
- pip install dist/fdroidserver-*.tar.gz
|
- $pip install --upgrade pip setuptools
|
||||||
|
- $pip install dist/fdroidserver-*.tar.gz
|
||||||
- test -e /usr/share/locale/de/LC_MESSAGES/fdroidserver.mo
|
- test -e /usr/share/locale/de/LC_MESSAGES/fdroidserver.mo
|
||||||
|
- ./tests/run-tests
|
||||||
|
|
||||||
|
pip_install:
|
||||||
|
image: archlinux/base
|
||||||
|
script:
|
||||||
|
- pacman --sync --sysupgrade --refresh --noconfirm git grep python-pip python-virtualenv tar
|
||||||
|
- pip install -e .
|
||||||
- fdroid
|
- fdroid
|
||||||
- fdroid readmeta
|
- fdroid readmeta
|
||||||
- fdroid update --help
|
- fdroid update --help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue