2014-02-21 11:34:22 -08:00
|
|
|
[tox]
|
2018-09-17 05:23:48 -07:00
|
|
|
envlist=py27,pypy,py{34,35,36,37},flake8
|
2014-02-21 11:34:22 -08:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = -r{toxinidir}/requirements.d/dev.txt
|
2018-09-17 03:01:25 -07:00
|
|
|
setenv = PYTHONPATH = {toxinidir}
|
2014-08-10 15:30:16 -07:00
|
|
|
# as we do not start the server that serves the selenium tests using the misc.
|
|
|
|
# python versions configured above (but manually with 1 specific python
|
|
|
|
# version), there is no point in running these tests with tox:
|
2018-09-17 02:55:04 -07:00
|
|
|
commands = pytest -m "not needs_server" --cov=bepasty bepasty/
|
2014-02-21 11:34:22 -08:00
|
|
|
|
2018-09-17 02:12:51 -07:00
|
|
|
[testenv:flake8]
|
|
|
|
changedir =
|
|
|
|
deps = flake8
|
|
|
|
commands = flake8 bepasty/ setup.py
|