speedtest-cli/tox.ini

28 lines
551 B
INI
Raw Normal View History

2014-04-17 17:25:21 +02:00
[tox]
skipsdist=true
[testenv]
2018-01-02 23:48:38 +01:00
whitelist_externals = bash
2014-04-17 17:25:21 +02:00
commands =
{envpython} -V
{envpython} -m compileall speedtest.py
{envpython} speedtest.py
2018-01-02 23:36:20 +01:00
{envpython} speedtest.py --source 172.17.0.1
2018-01-03 00:02:34 +01:00
{envpython} tests/scripts/source.py
2014-04-17 17:25:21 +02:00
[testenv:flake8]
basepython=python
deps=flake8
commands =
{envpython} -V
flake8 speedtest.py
2014-04-17 17:25:21 +02:00
[testenv:pypy]
2018-01-02 23:48:38 +01:00
whitelist_externals = bash
2014-04-17 17:25:21 +02:00
commands =
pypy -V
pypy -m compileall speedtest.py
pypy speedtest.py
2018-01-02 23:36:20 +01:00
pypy speedtest.py --source 172.17.0.1
2018-01-03 00:02:34 +01:00
pypy tests/scripts/source.py