forked from ethereum/web3.py
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtox.ini
40 lines (37 loc) · 1001 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
38
39
40
[tox]
envlist=
py{35,36}-ens
py{35,36}-core
py{35,36}-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}
ens: py.test {posargs:tests/ens}
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
py36: python3.6
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 {toxinidir}/web3 {toxinidir}/ens {toxinidir}/tests