test(tox): Ensure Falcon works with Python 3.4
It appears to work with now changes! All tests green. Closes #244
This commit is contained in:
@@ -6,6 +6,8 @@ env:
|
|||||||
- TOX_ENV=py27_cython
|
- TOX_ENV=py27_cython
|
||||||
- TOX_ENV=py33
|
- TOX_ENV=py33
|
||||||
- TOX_ENV=py33_cython
|
- TOX_ENV=py33_cython
|
||||||
|
- TOX_ENV=py34
|
||||||
|
- TOX_ENV=py34_cython
|
||||||
- TOX_ENV=pypy
|
- TOX_ENV=pypy
|
||||||
- TOX_ENV=pep8
|
- TOX_ENV=pep8
|
||||||
- TOX_ENV=pylint
|
- TOX_ENV=pylint
|
||||||
|
|||||||
1
setup.py
1
setup.py
@@ -74,6 +74,7 @@ setup(
|
|||||||
'Programming Language :: Python :: 2.6',
|
'Programming Language :: Python :: 2.6',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Programming Language :: Python :: 3.3',
|
'Programming Language :: Python :: 3.3',
|
||||||
|
'Programming Language :: Python :: 3.4',
|
||||||
],
|
],
|
||||||
keywords='wsgi web api framework rest http cloud',
|
keywords='wsgi web api framework rest http cloud',
|
||||||
author='Kurt Griffiths',
|
author='Kurt Griffiths',
|
||||||
|
|||||||
25
tox.ini
25
tox.ini
@@ -4,6 +4,8 @@ envlist = py26,
|
|||||||
py27_cython,
|
py27_cython,
|
||||||
py33,
|
py33,
|
||||||
py33_cython,
|
py33_cython,
|
||||||
|
py34,
|
||||||
|
py34_cython,
|
||||||
pypy,
|
pypy,
|
||||||
pep8,
|
pep8,
|
||||||
pylint,
|
pylint,
|
||||||
@@ -14,6 +16,8 @@ envlist = py26,
|
|||||||
py27_bench_cython,
|
py27_bench_cython,
|
||||||
py33_bench,
|
py33_bench,
|
||||||
py33_bench_cython,
|
py33_bench_cython,
|
||||||
|
py34_bench,
|
||||||
|
py34_bench_cython,
|
||||||
pypy_bench
|
pypy_bench
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@@ -47,6 +51,14 @@ commands = {toxinidir}/tools/clean_cythoned.sh {toxinidir}/falcon
|
|||||||
nosetests \
|
nosetests \
|
||||||
{posargs}
|
{posargs}
|
||||||
|
|
||||||
|
[testenv:py34_cython]
|
||||||
|
deps = -r{toxinidir}/tools/test-requires
|
||||||
|
cython
|
||||||
|
basepython = python3.4
|
||||||
|
commands = {toxinidir}/tools/clean_cythoned.sh {toxinidir}/falcon
|
||||||
|
nosetests \
|
||||||
|
{posargs}
|
||||||
|
|
||||||
[testenv:py3kwarn]
|
[testenv:py3kwarn]
|
||||||
deps = py3kwarn
|
deps = py3kwarn
|
||||||
commands = py3kwarn falcon
|
commands = py3kwarn falcon
|
||||||
@@ -93,6 +105,19 @@ deps = -r{toxinidir}/tools/bench-requires
|
|||||||
basepython = python3.3
|
basepython = python3.3
|
||||||
commands = falcon-bench {posargs}
|
commands = falcon-bench {posargs}
|
||||||
|
|
||||||
|
[testenv:py34_bench]
|
||||||
|
deps = -r{toxinidir}/tools/bench-requires
|
||||||
|
basepython = python3.4
|
||||||
|
|
||||||
|
# NOTE(kgriffs): Hard-code test since other frameworks don't work on 3.4
|
||||||
|
commands = falcon-bench -b falcon -b falcon-ext -b pecan -b bottle {posargs}
|
||||||
|
|
||||||
|
[testenv:py34_bench_cython]
|
||||||
|
deps = -r{toxinidir}/tools/bench-requires
|
||||||
|
cython
|
||||||
|
basepython = python3.4
|
||||||
|
commands = falcon-bench -b falcon -b falcon-ext -b pecan -b bottle {posargs}
|
||||||
|
|
||||||
[testenv:pypy_bench]
|
[testenv:pypy_bench]
|
||||||
deps = -r{toxinidir}/tools/bench-requires
|
deps = -r{toxinidir}/tools/bench-requires
|
||||||
basepython = pypy
|
basepython = pypy
|
||||||
|
|||||||
Reference in New Issue
Block a user