flake8 tests in .travis.yml

This commit is contained in:
cclauss 2017-07-23 18:53:10 +02:00 committed by GitHub
parent 54036c231f
commit 19dc466789

View File

@ -15,6 +15,11 @@ python:
- "nightly" - "nightly"
install: install:
- pip install -U pip tox virtualenv codecov - pip install -U pip tox virtualenv codecov
before_script:
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then
pip install -U flake8 ;
flake8 *py src --count --select=E901,E999,F821,F822,F823 --statistics ;
fi
script: script:
- tox -e coverage - tox -e coverage
after_success: after_success: