Skip to content

Commit

Permalink
Add flake8 to travis checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Mar 12, 2019
1 parent 2e01d5d commit 9523704
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ os:
# - osx
# - windows
install:
- pip install python-coveralls coverage
- pip install python-coveralls coverage flake8
- python setup.py install
before_script:
# Break build in case of serious syntax errors or missing imports
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
script: coverage run --include bdbag/*,bdbag/fetch/* --omit bdbag/bdbag_cli.py,bdbag/bdbag_ro.py,bdbag/bdbagit_profile.py,bdbag/fetch/transports/fetch_globus.py,bdbag/fetch/transports/fetch_boto3.py setup.py test
after_success: coveralls
after_failure:
Expand Down

0 comments on commit 9523704

Please sign in to comment.