From 056675aea6f3865275762475d77d89461594b3bd Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sun, 4 Mar 2018 14:08:22 -0600 Subject: [PATCH] add flake8 to travis-ci --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5f298d45938..47cdd3f43d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ before_install: - export PIP_USE_MIRRORS=true - pip install --upgrade pytest # https://github.com/travis-ci/travis-ci/issues/4873 - pip install --upgrade pip wheel virtualenv setuptools - - pip install pytest-cov coverage codecov + - pip install pytest-cov coverage codecov flake8 install: - pip install -e . - pip install -r requirements/test.txt @@ -41,7 +41,9 @@ before_script: - export PATH=$HOME/tmux/bin:$PATH - cd .. - tmux -V -script: py.test --cov +script: + - py.test --cov + - make flake8 addons: apt: packages: