mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-08-17 03:40:11 +02:00
This was failing on environments that did not have any LANG or LC_* locale variables set. This is a valid setup, and is common in headless setups, so it needs to be handled. This also adds a new pass of the test suite without the locale env vars set so that this situation is also tests on gitlab-ci, not only gpjenkins. The error this caused was: UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-18: ordinal not in range(128)
11 lines
290 B
YAML
11 lines
290 B
YAML
image: registry.gitlab.com/fdroid/ci-images:server-latest
|
|
|
|
test:
|
|
script:
|
|
- mkdir -p /usr/lib/python3.4/site-packages/
|
|
# workaround https://github.com/pypa/setuptools/issues/937
|
|
- pip3 install setuptools==33.1.1
|
|
- pip3 install -e .
|
|
- cd tests
|
|
- ./complete-ci-tests
|