2014-03-15 02:24:00 +00:00
|
|
|
[tox]
|
2015-02-19 19:40:39 +00:00
|
|
|
envlist = py27,pypy,py34,flake8
|
2015-02-20 21:59:34 +00:00
|
|
|
[testenv:py27]
|
|
|
|
commands =
|
|
|
|
pip install -e .
|
|
|
|
py.test jellyfish/test.py
|
|
|
|
deps = pytest
|
|
|
|
unicodecsv
|
2015-04-21 21:14:58 +00:00
|
|
|
pytest-benchmark
|
2015-02-20 21:59:34 +00:00
|
|
|
[testenv:pypy]
|
|
|
|
commands =
|
|
|
|
pip install -e .
|
2015-04-21 21:14:58 +00:00
|
|
|
py.test jellyfish/test.py --benchmark-warmup --benchmark-warmup-iterations=2
|
2015-02-20 21:59:34 +00:00
|
|
|
deps = pytest
|
|
|
|
unicodecsv
|
2015-04-21 21:14:58 +00:00
|
|
|
pytest-benchmark
|
2015-02-20 21:59:34 +00:00
|
|
|
[testenv:py34]
|
2014-08-11 18:38:46 +00:00
|
|
|
commands =
|
|
|
|
pip install -e .
|
|
|
|
py.test jellyfish/test.py
|
|
|
|
deps = pytest
|
2015-04-21 21:14:58 +00:00
|
|
|
pytest-benchmark
|
2014-03-15 02:24:00 +00:00
|
|
|
[testenv:flake8]
|
2015-02-19 19:51:38 +00:00
|
|
|
basepython=python2.7
|
2014-03-15 02:24:00 +00:00
|
|
|
deps = flake8
|
|
|
|
commands = flake8 jellyfish
|
|
|
|
[flake8]
|
|
|
|
max-line-length=99
|
2015-02-24 15:54:57 +00:00
|
|
|
ignore=E402,E226
|