forked from BitySA/web3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (34 loc) · 916 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
31
32
33
34
35
36
37
[tox]
envlist=
py35-core-{gevent,stdlib}
py35-integration-{ethtestrpc,goethereum,ethtester}
flake8
[flake8]
max-line-length= 100
exclude= venv*,.tox,docs,build
ignore=
[testenv]
usedevelop=True
commands=
core: py.test {posargs:tests/core}
integration-ethtestrpc: py.test {posargs:tests/integration/test_ethtestrpc.py}
integration-goethereum: py.test {posargs:tests/integration/test_goethereum.py}
integration-ethtester: py.test {posargs:tests/integration/test_ethereum_tester.py}
deps =
-r{toxinidir}/requirements-dev.txt
gevent: -r{toxinidir}/requirements-gevent.txt
ethtester: ethereum-tester>=0.1.0-alpha.6
setenv =
gevent: THREADING_BACKEND=gevent
passenv =
GETH_BINARY
GETH_VERSION
TRAVIS_BUILD_DIR
GOROOT
GOPATH
basepython =
py35: python3.5
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 {toxinidir}/web3 {toxinidir}/tests