Permalink
Browse files

Merge pull request #1040 from cclauss/patch-1

 Run a handful of key flake8 tests on all new PRs
  • Loading branch information...
mnaberez committed Jan 12, 2018
2 parents 3fcf16f + 807bbb2 commit 693b9829bc628e063c0000acdfcc67ee2211a0a9
Showing with 4 additions and 1 deletion.
  1. +1 −1 .travis.yml
  2. +3 −0 tox.ini
View
@@ -20,7 +20,7 @@ matrix:
env: TOXENV=py36
install:
- travis_retry pip install virtualenv tox pexpect
- travis_retry pip install virtualenv tox pexpect flake8
script:
- travis_retry tox
View
@@ -15,14 +15,17 @@ commands =
basepython = python2.7
commands =
py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
deps =
{[testenv]deps}
pytest-cov
flake8
[testenv:cover3]
basepython = python3.6
commands =
py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
deps =
{[testenv:cover]deps}

0 comments on commit 693b982

Please sign in to comment.