mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-06-10 17:50:04 +08:00
- document this requirement - adjust setup.py to ask for it with Python 3 - use it for testsuite on Travis - use it on Scrutinizer Fixes #1018 Signed-off-by: Michal Čihař <michal@cihar.com>
29 lines
850 B
YAML
Vendored
29 lines
850 B
YAML
Vendored
checks:
|
|
python:
|
|
code_rating: true
|
|
duplicate_code: true
|
|
tools:
|
|
pylint:
|
|
python_version: '3'
|
|
config_file: 'ci/pylint-scrutinizer.rc'
|
|
filter:
|
|
excluded_paths:
|
|
- '*/migrations/*'
|
|
before_commands:
|
|
- pip3 install -r ci/requirements-scrutinizer.txt
|
|
- pip install -r ci/requirements-scrutinizer.txt
|
|
- pip install Django
|
|
- pip3 install Django
|
|
build:
|
|
dependencies:
|
|
override:
|
|
- pip install -r ci/requirements-scrutinizer.txt
|
|
tests:
|
|
override:
|
|
-
|
|
command: ./manage.py collectstatic --settings=weblate.settings_test --noinput
|
|
-
|
|
command: coverage run --source . ./manage.py test --settings=weblate.settings_test
|
|
coverage:
|
|
file: .coverage
|
|
format: py-cc
|