20 lines
1,006 B
INI
20 lines
1,006 B
INI
[testenv]
|
|
deps =
|
|
coverage
|
|
|
|
extras = test
|
|
changedir = {toxinidir}/tests
|
|
setenv =
|
|
HOME=/tmp
|
|
LIBTORRENT_URL={env:LIBTORRENT_URL:https://s3.amazonaws.com/files.lbry.io/python_libtorrent-1.2.4-py3-none-any.whl}
|
|
commands =
|
|
pip install {env:LIBTORRENT_URL}
|
|
pip install https://github.com/rogerbinns/apsw/releases/download/3.30.1-r1/apsw-3.30.1-r1.zip \
|
|
--global-option=fetch \
|
|
--global-option=--version --global-option=3.30.1 --global-option=--all \
|
|
--global-option=build --global-option=--enable --global-option=fts5
|
|
pip install https://s3.amazonaws.com/files.lbry.io/python_libtorrent-1.2.4-py2.py3-none-any.whl
|
|
orchstr8 download
|
|
blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
|
|
datanetwork: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.datanetwork {posargs}
|
|
other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs}
|