mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
gitlab-ci: compile locales using gettext and babel
This commit is contained in:
parent
288877e7ce
commit
6925083e57
@ -109,6 +109,7 @@ pip_install:
|
|||||||
# 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
|
||||||
|
- ! (./setup.py compile_catalog 2>&1 | grep -F "error:")
|
||||||
- ./setup.py compile_catalog sdist
|
- ./setup.py compile_catalog sdist
|
||||||
- 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
|
||||||
@ -144,6 +145,8 @@ lint_format_safety_bandit_checks:
|
|||||||
tests/*.py
|
tests/*.py
|
||||||
tests/*.TestCase
|
tests/*.TestCase
|
||||||
|| export EXITVALUE=1
|
|| export EXITVALUE=1
|
||||||
|
- apk add --no-cache gettext make
|
||||||
|
- make -C locale compile
|
||||||
- exit $EXITVALUE
|
- exit $EXITVALUE
|
||||||
|
|
||||||
fedora_latest:
|
fedora_latest:
|
||||||
|
Loading…
Reference in New Issue
Block a user