Cross-platform Python CFFI bindings for libsecp256k1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
827 B

[tox]
skip_missing_interpreters = true
envlist =
py{27,35,36,37,38},
pypy3k,
bench,
style
[testenv]
passenv = *
deps =
-rrequirements-dev.txt
commands =
python -c "import shutil; shutil.move('coincurve', '_coincurve')"
coverage run --parallel-mode -m pytest -v --benchmark-skip {posargs}
python -c "import shutil; shutil.move('_coincurve', 'coincurve')"
coverage combine
coverage report -m
[testenv:bench]
skip_install = true
envdir = {toxworkdir}/{env:TESTENV:bench}
commands =
python -c "import shutil; shutil.move('coincurve', '_coincurve')"
pytest -v --benchmark-only --benchmark-sort=name --benchmark-cprofile=tottime
python -c "import shutil; shutil.move('_coincurve', 'coincurve')"
[testenv:style]
skip_install = true
deps = black
commands = black --check --diff .