From 5c4181a5cc95599b28727b04be8fdbee7efa3afc Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 22 Sep 2017 14:57:32 +0100 Subject: [PATCH] Add PEP8 linting to Travis --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8327ccec..8cc8f95c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,13 +12,14 @@ install: - export PATH=$PATH:$(pwd) - chmod +x chromedriver - pip install -r requirements.txt - - pip install coveralls codeclimate-test-reporter + - pip install coveralls codeclimate-test-reporter pep8 before_script: - export PATH=$PATH:/usr/lib/chromium-browser/ - python manage.py collectstatic --noinput script: + - pep8 . --exclude=migrations,importer* - python manage.py check - python manage.py makemigrations --check --dry-run - coverage run manage.py test --verbosity=2