Add PEP8 and Flake8 as part of Scrutinizer test

This commit is contained in:
Swen Kooij 2017-07-15 14:07:40 +03:00
parent 08690ab361
commit cff388cae3

View File

@ -13,17 +13,20 @@ filter:
build:
environment:
python: '3.5.0'
node: 'v6.2.0'
variables:
DJANGO_SETTINGS_MODULES: settings
DATABASE_URL: postgres://scrutinizer:scrutinizer@localhost:5434/localized_fields
postgresql: true
redis: true
dependencies:
override:
- 'pip install -r requirements/test.txt'
tests:
override:
-
command: pep8 ./localized_fields/
-
command: flake8 ./localized_fields/
-
command: coverage run manage.py test
coverage: