From 19dc466789e2f16e16c668047bfe557947a32c36 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 23 Jul 2017 18:53:10 +0200 Subject: [PATCH] flake8 tests in .travis.yml --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7b96ecb..fb7b02e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,11 @@ python: - "nightly" install: - 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: - tox -e coverage after_success: