weblate/.scrutinizer.yml
Michal Čihař 3e2a06fdb5 Force Django<2.0 on scrutinizer
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-02 20:55:46 +01:00

32 lines
891 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:
- sudo pip3 install 'Django<2.0'
build:
environment:
python: 3.6
dependencies:
override:
- pip install six
- pip install 'Django<2.0'
- 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
-
command: coverage combine
coverage:
file: .coverage
format: py-cc