From c510e49ca1207e610487bbe3930048620f435648 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 31 Oct 2013 11:37:11 -0700 Subject: Added a tox/travis just for running flake8 under py3k --- .travis.yml | 1 + tox.ini | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 97105375..cf6ecefa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ env: - TOX_ENV=pypy CC=clang - TOX_ENV=docs - TOX_ENV=pep8 + - TOX_ENV=py3pep8 install: - "[[ ${TOX_ENV} == pypy ]] && sudo add-apt-repository -y ppa:pypy/ppa || true" diff --git a/tox.ini b/tox.ini index 92bcb75b..b01aeb74 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,pypy,py32,py33,docs,pep8 +envlist = py26,py27,pypy,py32,py33,docs,pep8,py3pep8 [testenv] deps = @@ -22,5 +22,10 @@ commands = deps = flake8 commands = flake8 . +[testenv:py3pep8] +basepython = python3.3 +deps = flake8 +commands = flake8 . + [flake8] exclude = .tox,*.egg -- cgit v1.2.3