diff --git a/.travis.yml b/.travis.yml index fa02da5..63f0b5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,11 +16,11 @@ env: matrix: include: - python: 2.7 - env: TOXENV=lint + env: TOXENV=py2lint - python: 2.7 env: TOXENV=py27 - python: 3.6 - env: TOXENV=lint + env: TOXENV=py3lint - python: 3.6 env: TOXENV=py36 - python: 3.5 diff --git a/tox.ini b/tox.ini index ff9f1ed..76d93c5 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ commands = py.test -v -s -W all --cov pylast --cov-report term-missing {posargs} deps = ipdb commands = {posargs} -[testenv:lint] +[testenv:py2lint] deps = coverage pep8 @@ -34,3 +34,15 @@ commands = pep8 pylast pep8 tests ./clonedigger.sh + +[testenv:py3lint] +deps = + coverage + pep8 + pyyaml + pyflakes +commands = + pyflakes pylast + pyflakes tests + pep8 pylast + pep8 tests