weblate/.scrutinizer.yml
Michal Čihař d497f6c6b4 Try installing deps manually
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-20 13:01:29 +02:00

31 lines
846 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
build:
environment:
python: 3.6
dependencies:
override:
- pip install six
- 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