weblate/.scrutinizer.yml
Michal Čihař 1091645bfb translate-toolkit 1.14.0 is required on Python 3
- 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>
2016-03-17 14:22:13 +01:00

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