Add scrutinizer-ci configuration

This commit is contained in:
Swen Kooij 2017-02-23 16:24:52 +02:00
parent 99c8830f10
commit 3850c34374

30
.scrutinizer.yml Normal file
View 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'