foo
This commit is contained in:
parent
18e5a38d32
commit
7e4f319ad4
6
tox.ini
6
tox.ini
|
@ -2,12 +2,13 @@
|
||||||
skipsdist=true
|
skipsdist=true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
whitelist_externals = bash
|
||||||
commands =
|
commands =
|
||||||
{envpython} -V
|
{envpython} -V
|
||||||
{envpython} -m compileall speedtest.py
|
{envpython} -m compileall speedtest.py
|
||||||
{envpython} speedtest.py
|
{envpython} speedtest.py
|
||||||
{envpython} speedtest.py --source 172.17.0.1
|
{envpython} speedtest.py --source 172.17.0.1
|
||||||
bash -c \'{envpython} speedtest.py --source 127.0.0.1 || true\'
|
bash -c \'{envpython} speedtest.py --source 127.0.0.1 | grep "Invalid argument"\'
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
basepython=python
|
basepython=python
|
||||||
|
@ -17,9 +18,10 @@ commands =
|
||||||
flake8 speedtest.py
|
flake8 speedtest.py
|
||||||
|
|
||||||
[testenv:pypy]
|
[testenv:pypy]
|
||||||
|
whitelist_externals = bash
|
||||||
commands =
|
commands =
|
||||||
pypy -V
|
pypy -V
|
||||||
pypy -m compileall speedtest.py
|
pypy -m compileall speedtest.py
|
||||||
pypy speedtest.py
|
pypy speedtest.py
|
||||||
pypy speedtest.py --source 172.17.0.1
|
pypy speedtest.py --source 172.17.0.1
|
||||||
bash -c \'pypy speedtest.py --source 127.0.0.1 || true\'
|
bash -c \'pypy speedtest.py --source 127.0.0.1 | grep "Invalid argument"\'
|
||||||
|
|
Loading…
Reference in New Issue