mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +00:00
b4d001fe4d
We still technically support Python 3.3 as our code doesn't use any Python 3.4 features. (honestly, there are basically no python 3.4 features worth talking about -- although of course, you should update just for TLS 1.2 support) It's just that the whole ecosystem is moving away from py3.3 and I'm tired of making workarounds for pip, virtualenv and friends simply refusing to accomodate.
20 lines
458 B
INI
20 lines
458 B
INI
[tox]
|
|
envlist =
|
|
py33,
|
|
py34,
|
|
py35,
|
|
py36,
|
|
|
|
[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
|