weblate/.scrutinizer.yml
Michal Čihař faa54afc60 Revert "Attempt to use standard requirements on scrutinizer"
This reverts commit 32772d7fcb.

Obviously we can not install all optional stuff there.
2017-02-27 14:44:12 +01:00

30 lines
850 B
YAML

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