mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 00:42:17 +00:00
Add PEP8 linting to Travis
This commit is contained in:
@@ -12,13 +12,14 @@ install:
|
|||||||
- export PATH=$PATH:$(pwd)
|
- export PATH=$PATH:$(pwd)
|
||||||
- chmod +x chromedriver
|
- chmod +x chromedriver
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install coveralls codeclimate-test-reporter
|
- pip install coveralls codeclimate-test-reporter pep8
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH=$PATH:/usr/lib/chromium-browser/
|
- export PATH=$PATH:/usr/lib/chromium-browser/
|
||||||
- python manage.py collectstatic --noinput
|
- python manage.py collectstatic --noinput
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- pep8 . --exclude=migrations,importer*
|
||||||
- python manage.py check
|
- python manage.py check
|
||||||
- python manage.py makemigrations --check --dry-run
|
- python manage.py makemigrations --check --dry-run
|
||||||
- coverage run manage.py test --verbosity=2
|
- coverage run manage.py test --verbosity=2
|
||||||
|
|||||||
Reference in New Issue
Block a user