-
Notifications
You must be signed in to change notification settings - Fork 104
/
tox.ini
30 lines (26 loc) · 632 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist = py35, py36, flake8, docs
[base]
basepython=python3.6
deps = pip>=9.0.1
[testenv:flake8]
deps =
flake8
{[base]deps}
commands=flake8 bigchaindb_driver
[testenv:docs]
changedir=docs
deps =
-r{toxinidir}/docs/requirements.txt
{[base]deps}
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/bigchaindb_driver
BIGCHAINDB_DATABASE_BACKEND=mongodb
deps =
{[base]deps}
install_command = pip install {opts} {packages} .[test]
commands =
py.test -v -n auto --cov=bigchaindb_driver --basetemp={envtmpdir}