forked from ethereum/py-evm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
33 lines (30 loc) · 1.16 KB
/
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
[tox]
envlist=
py{27,34,35}-{core,state-all,state-fast,state-slow,blockchain,transactions,vm-all,vm-fast,vm-limits,vm-performance}
flake8
[flake8]
max-line-length= 100
exclude= tests/*
[testenv]
usedevelop=True
commands=
blockchain: py.test {posargs:tests/json-fixtures/test_blockchain.py}
core: py.test {posargs:tests/core}
state-all: py.test {posargs:tests/json-fixtures/test_state.py}
state-fast: py.test {posargs:tests/json-fixtures/test_state.py -m "not state_slow"}
state-slow: py.test {posargs:tests/json-fixtures/test_state.py -m state_slow}
transactions: py.test {posargs:tests/json-fixtures/test_transactions.py}
vm-all: py.test {posargs:tests/json-fixtures/test_vm.py}
vm-fast: py.test {posargs:tests/json-fixtures/test_vm.py -m "not vm_limits and not vm_performance"}
vm-limits: py.test {posargs:tests/json-fixtures/test_vm.py -m vm_limits -q}
vm-performance: py.test {posargs:tests/json-fixtures/test_vm.py -m vm_performance}
deps =
-r{toxinidir}/requirements-dev.txt
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 {toxinidir}/evm