diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | tox.ini | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index eff8b66..ac1e55c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ env: - TOXENV=py33 - TOXENV=py34 - TOXENV=pypy + - TOXENV=flake8 install: - pip install tox @@ -1,2 +1,5 @@ [wheel] universal = 1 + +[flake8] +exclude = .tox @@ -1,3 +1,10 @@ +[tox] +envlist = py27,flake8 + [testenv] deps = pytest commands = py.test {posargs} + +[testenv:flake8] +deps = flake8 +commands = flake8 {posargs} |