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
This commit is contained in:
Chris Wolfe 2016-11-05 23:00:37 -05:00 committed by Alex Gaynor
parent b924696b2e
commit 0b26ab263a
2 changed files with 9 additions and 8 deletions

View file

@ -2,7 +2,7 @@ clint
coverage
invoke
requests
tox
tox >= 2.4.1
twine
-e .[test,docstest,pep8test]
-e vectors

15
tox.ini
View file

@ -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 .