mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
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:
parent
b924696b2e
commit
0b26ab263a
2 changed files with 9 additions and 8 deletions
|
|
@ -2,7 +2,7 @@ clint
|
|||
coverage
|
||||
invoke
|
||||
requests
|
||||
tox
|
||||
tox >= 2.4.1
|
||||
twine
|
||||
-e .[test,docstest,pep8test]
|
||||
-e vectors
|
||||
|
|
|
|||
15
tox.ini
15
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 .
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue