2014-04-17 17:25:21 +02:00
|
|
|
[tox]
|
|
|
|
skipsdist=true
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
commands =
|
|
|
|
{envpython} -V
|
2015-12-28 21:34:07 +01:00
|
|
|
{envpython} -m compileall speedtest.py
|
|
|
|
{envpython} speedtest.py
|
2018-01-03 00:16:52 +01:00
|
|
|
{envpython} speedtest.py --source 172.17.0.1
|
|
|
|
{envpython} tests/scripts/source.py
|
2014-04-17 17:25:21 +02:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
basepython=python
|
|
|
|
deps=flake8
|
|
|
|
commands =
|
|
|
|
{envpython} -V
|
2015-12-28 21:34:07 +01:00
|
|
|
flake8 speedtest.py
|
2014-04-17 17:25:21 +02:00
|
|
|
|
|
|
|
[testenv:pypy]
|
|
|
|
commands =
|
|
|
|
pypy -V
|
2015-12-28 21:34:07 +01:00
|
|
|
pypy -m compileall speedtest.py
|
|
|
|
pypy speedtest.py
|
2018-01-03 00:16:52 +01:00
|
|
|
pypy speedtest.py --source 172.17.0.1
|
|
|
|
pypy tests/scripts/source.py
|