mirror of
https://github.com/sivel/speedtest-cli.git
synced 2024-11-21 01:13:24 +08:00
24 lines
472 B
INI
24 lines
472 B
INI
[tox]
|
|
skipsdist=true
|
|
|
|
[testenv]
|
|
commands =
|
|
{envpython} -V
|
|
{envpython} -m compileall speedtest.py
|
|
{envpython} speedtest.py
|
|
sh -c "{envpython} speedtest.py --source 127.0.0.1 || (( $? == 1 ))"
|
|
|
|
[testenv:flake8]
|
|
basepython=python
|
|
deps=flake8
|
|
commands =
|
|
{envpython} -V
|
|
flake8 speedtest.py
|
|
|
|
[testenv:pypy]
|
|
commands =
|
|
pypy -V
|
|
pypy -m compileall speedtest.py
|
|
pypy speedtest.py
|
|
sh -c "pypy speedtest.py --source 127.0.0.1 || (( $? == 1 ))"
|