mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-25 11:42:54 +03:00
Add scrutinizer-ci configuration
This commit is contained in:
parent
99c8830f10
commit
3850c34374
30
.scrutinizer.yml
Normal file
30
.scrutinizer.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
checks:
|
||||||
|
python:
|
||||||
|
code_rating: true
|
||||||
|
duplicate_code: true
|
||||||
|
tools:
|
||||||
|
pylint:
|
||||||
|
python_version: '3'
|
||||||
|
config_file: .pylintrc
|
||||||
|
filter:
|
||||||
|
excluded_paths:
|
||||||
|
- '*/tests/*'
|
||||||
|
- '*/migrations/*'
|
||||||
|
build:
|
||||||
|
environment:
|
||||||
|
python: '3.5.0'
|
||||||
|
node: 'v6.2.0'
|
||||||
|
variables:
|
||||||
|
DJANGO_SETTINGS_MODULES: settings
|
||||||
|
postgresql: true
|
||||||
|
redis: true
|
||||||
|
dependencies:
|
||||||
|
override:
|
||||||
|
- 'pip install -r requirements/test.txt'
|
||||||
|
tests:
|
||||||
|
override:
|
||||||
|
-
|
||||||
|
command: coverage run manage.py test
|
||||||
|
coverage:
|
||||||
|
file: '.coverage'
|
||||||
|
format: 'py-cc'
|
Loading…
x
Reference in New Issue
Block a user