From 0b26ab263aa201ba8d6bb8136cfd6f75257f5273 Mon Sep 17 00:00:00 2001 From: Chris Wolfe Date: Sat, 5 Nov 2016 23:00:37 -0500 Subject: tox 2.4 has new syntax for specifying extras (#3212) * tox 2.4 allows has new extras syntax * specify minimum version for tox in dev-requirements.txt --- tox.ini | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 6650e95e..faccbdbd 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,10 @@ envlist = py26,py27,pypy,py33,py34,py35,docs,pep8,py3pep8 [testenv] +extras = + test deps = coverage - .[test] ./vectors passenv = ARCHFLAGS LDFLAGS CFLAGS INCLUDE LIB LD_LIBRARY_PATH USERNAME commands = @@ -17,8 +18,8 @@ commands = coverage report -m [testenv:docs] -deps = - .[docstest] +extras = + docstest basepython = python2.7 commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html @@ -44,15 +45,15 @@ commands = py.test --capture=no --strict {posargs} [testenv:pep8] -deps = - .[pep8test] +extras = + pep8test commands = flake8 . [testenv:py3pep8] basepython = python3 -deps = - .[pep8test] +extras = + pep8test commands = flake8 . -- cgit v1.2.3