1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 12:38:43 +00:00
trezor-firmware/tox.ini

23 lines
655 B
INI
Raw Normal View History

2016-10-17 12:17:18 +00:00
[tox]
envlist =
py33,
py34,
py35,
py36,
2016-10-17 12:17:18 +00:00
[testenv]
deps =
-rrequirements-dev.txt
commands =
# Generate local files
python setup.py prebuild
# 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
2017-12-19 09:26:36 +00:00
python -m pytest --pyarg trezorlib.tests.unit_tests
# This whole thing is a hack, as the tests run against the cwd version of
# python-trezor, as opposed to what is installed.
# A better solution would be to put `trezorlib` into `src`. But that's not done yet