mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

* Dependencies update Signed-off-by: David Dashyan <mail@davie.li> * Dockerfile-dev: update python version + remove system pynacl Signed-off-by: David Dashyan <mail@davie.li> * Set dummy_transaction fixture scope to "session" Signed-off-by: David Dashyan <mail@davie.li> * Add 3.7 and 3.8 python tests * setup.py: fix version typo
37 lines
771 B
INI
37 lines
771 B
INI
[tox]
|
|
skipsdist = true
|
|
envlist = py{36,37,38}, flake8, docsroot
|
|
|
|
[base]
|
|
basepython = python3.8
|
|
deps = pip>=9.0.1
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv =
|
|
PYTHONPATH={toxinidir}:{toxinidir}/bigchaindb
|
|
deps = {[base]deps}
|
|
install_command = pip install {opts} {packages}
|
|
extras = test
|
|
commands = pytest -v -n auto --cov=bigchaindb --basetemp={envtmpdir}
|
|
|
|
[testenv:flake8]
|
|
basepython = {[base]basepython}
|
|
deps =
|
|
{[base]deps}
|
|
flake8
|
|
skip_install = True
|
|
extras = None
|
|
commands = flake8 bigchaindb tests
|
|
|
|
[testenv:docsroot]
|
|
basepython = {[base]basepython}
|
|
changedir = docs/root/source
|
|
deps =
|
|
{[base]deps}
|
|
typing-extensions
|
|
-r{toxinidir}/docs/root/requirements.txt
|
|
extras = None
|
|
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
|
|