mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 20:23:12 +02:00
Add py3 tox tests for acme.jose
This commit is contained in:
+3
-1
@@ -6,6 +6,8 @@
|
|||||||
# test docker on their git working directories.
|
# test docker on their git working directories.
|
||||||
|
|
||||||
.git
|
.git
|
||||||
tox.cover
|
tox.venv
|
||||||
|
tox.venv3
|
||||||
venv
|
venv
|
||||||
|
venv3
|
||||||
docs
|
docs
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
/venv/
|
/venv/
|
||||||
|
/venv3/
|
||||||
|
/tox.venv/
|
||||||
/tox.venv/
|
/tox.venv/
|
||||||
letsencrypt.log
|
letsencrypt.log
|
||||||
|
|
||||||
|
|||||||
@@ -18,13 +18,23 @@ install_requires = [
|
|||||||
'werkzeug',
|
'werkzeug',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
testing_extras = [
|
||||||
|
'nose',
|
||||||
|
'tox',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='acme',
|
name='acme',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
|
extras_require={
|
||||||
|
'testing': testing_extras,
|
||||||
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'jws = acme.jose.jws:CLI.run',
|
'jws = acme.jose.jws:CLI.run',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
test_suite='acme',
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
# acme and letsencrypt are not yet on pypi, so when Tox invokes
|
# acme and letsencrypt are not yet on pypi, so when Tox invokes
|
||||||
# "install *.zip", it will not find deps
|
# "install *.zip", it will not find deps
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
envlist = py26,py27,cover,lint
|
envlist = py26,py27,py34,cover,lint
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
# share one venv across testenvs, instead of multiple
|
# share one venv across testenvs, instead of multiple
|
||||||
@@ -26,6 +26,12 @@ setenv =
|
|||||||
PYTHONHASHSEED = 0
|
PYTHONHASHSEED = 0
|
||||||
# https://testrun.org/tox/latest/example/basic.html#special-handling-of-pythonhas
|
# https://testrun.org/tox/latest/example/basic.html#special-handling-of-pythonhas
|
||||||
|
|
||||||
|
[testenv:py34]
|
||||||
|
envdir = {toxinidir}/tox.venv3
|
||||||
|
commands =
|
||||||
|
pip install -e acme[testing]
|
||||||
|
nosetests acme/acme/jose
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
|
|||||||
Reference in New Issue
Block a user