added PEP8 test stage

This commit is contained in:
Michael Greene
2014-05-01 17:33:36 -07:00
parent 0469ef515a
commit e97917bdcb
2 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,11 @@ install:
- pip install -r requirements-test.txt
- pip install python-coveralls
- pip install .
# run pep8 against the project with some errors disabled
before_script:
- pep8 --ignore=E201,E202,E501,E265,E221,E251 setup.py
- pep8 --ignore=E201,E202,E501,E265 pgpy
# use setup.py to invoke testing via coveralls
script:
PYTHONPATH=. py.test -vv --cov pgpy --cov-report term-missing tests/