mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-26 05:30:20 +00:00
Only run flake8 on pull requests
This commit is contained in:
parent
6fe06be8e5
commit
f93b4a4dbd
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ install:
|
|||
- pip install -r requirements_doc.txt
|
||||
|
||||
script:
|
||||
- py.test tests -s --tb=native --verbose --cov-config .coveragerc --cov=plexapi
|
||||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash py.test tests -s --tb=native --verbose --cov-config .coveragerc --cov=plexapi; fi
|
||||
- flake8 plexapi --exclude=compat.py --max-line-length=120 --ignore=E128,E701,E702,E731,W293
|
||||
|
||||
after_success:
|
||||
|
|
Loading…
Reference in a new issue