Skip to content

Commit 8dae27d

Browse files
author
Tyler Goodlet
committed
Add a benchmark tox env
1 parent 6babb6e commit 8dae27d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

tox.ini

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
envlist=check,py{26,27,34,35,36,py}-pytest{28,29,30}
33

44
[testenv]
5-
commands= py.test {posargs:testing/}
5+
commands=py.test {posargs:testing/}
66
deps=
77
pytest28: pytest~=2.8.0
88
pytest29: pytest~=2.9.0
99
pytest30: pytest~=3.0.0
10+
11+
[testenv:benchmark]
12+
commands=py.test {posargs:testing/benchmark.py}
13+
deps=
14+
pytest
1015
pytest-benchmark
1116

1217
[testenv:check]
@@ -17,21 +22,20 @@ commands =
1722
flake8 pluggy.py setup.py testing
1823
rst-lint CHANGELOG.rst README.rst
1924

20-
2125
[testenv:docs]
2226
deps =
2327
sphinx
2428
pygments
25-
2629
commands =
2730
sphinx-build \
2831
-b html \
2932
{toxinidir}/docs {toxinidir}/build/html-docs
33+
3034
[pytest]
3135
minversion=2.0
3236
#--pyargs --doctest-modules --ignore=.tox
33-
addopts= -rxsX
34-
norecursedirs = .tox ja .hg .env*
37+
addopts=-rxsX
38+
norecursedirs=.tox ja .hg .env*
3539

3640
[flake8]
37-
max-line-length = 99
41+
max-line-length=99

0 commit comments

Comments
 (0)