1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 03:19:05 +00:00
trezor-firmware/python/tox.ini

19 lines
448 B
INI
Raw Normal View History

2016-10-17 12:17:18 +00:00
[tox]
envlist =
py35,
py36,
py37,
2016-10-17 12:17:18 +00:00
[testenv]
deps =
-rrequirements-dev.txt
commands =
# Generate local files
python setup.py build
# Working in the local directory, try to compile all bytecode
python -m compileall trezorlib/
# From installed version, smoke-test trezorctl
trezorctl --help
# Run non-device-dependent tests from installed version
python -E -m pytest --pyarg trezorlib.tests.unit_tests