mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
add pep8 autoformat checks to travis
This commit is contained in:
parent
161bc2cfaa
commit
8037830696
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,4 +9,5 @@ MANIFEST
|
||||
.coverage
|
||||
.idea/
|
||||
__pycache__
|
||||
netlib.egg-info/
|
||||
netlib.egg-info/
|
||||
pathod/
|
||||
|
@ -7,9 +7,11 @@ python:
|
||||
install:
|
||||
- "pip install --src . -r requirements.txt"
|
||||
# command to run tests, e.g. python setup.py test
|
||||
script:
|
||||
script:
|
||||
- "nosetests --with-cov --cov-report term-missing"
|
||||
after_success:
|
||||
- "autopep8 -i -r -a -a . && test -z \"$(git status -s)\""
|
||||
- "autoflake -r -i --remove-all-unused-imports --remove-unused-variables . && test -z \"$(git status -s)\""
|
||||
after_success:
|
||||
- coveralls
|
||||
notifications:
|
||||
irc:
|
||||
@ -22,4 +24,4 @@ cache:
|
||||
- /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
|
||||
- /home/travis/virtualenv/python2.7.9/bin
|
||||
- /home/travis/virtualenv/pypy-2.5.0/site-packages
|
||||
- /home/travis/virtualenv/pypy-2.5.0/bin
|
||||
- /home/travis/virtualenv/pypy-2.5.0/bin
|
||||
|
Loading…
Reference in New Issue
Block a user