forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
32 lines (32 loc) · 891 Bytes
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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