aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--tox.ini7
2 files changed, 7 insertions, 1 deletions
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