weblate/.scrutinizer.yml
Michal Čihař 99701b71c7 Install all deps
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-31 11:37:06 +01:00

30 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:
- sudo pip3 install -r ci/requirements-scrutinizer.txt
build:
environment:
python: 3.5.0
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
-
command: coverage combine
coverage:
file: .coverage
format: py-cc