mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-29 10:58:21 +00:00
add tox
This commit is contained in:
parent
d1397c779c
commit
883ebf0e03
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ distribute-*.egg
|
|||||||
distribute-*.tar.gz
|
distribute-*.tar.gz
|
||||||
docs/_build
|
docs/_build
|
||||||
docs/.docs-build-environment
|
docs/.docs-build-environment
|
||||||
|
.tox/
|
||||||
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
ecdsa>=0.9
|
||||||
|
protobuf>=2.6.1
|
||||||
|
mnemonic>=0.8
|
||||||
|
hidapi>=0.7.99
|
23
tox.ini
Normal file
23
tox.ini
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# To test against multiple python versions
|
||||||
|
#
|
||||||
|
# 1. Install those Python versions.
|
||||||
|
# On Ubuntu we suggest the deadsnakes PPA
|
||||||
|
# https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes
|
||||||
|
#
|
||||||
|
# 2. Install Tox (e.g. with pip)
|
||||||
|
# pip install Tox
|
||||||
|
#
|
||||||
|
# 3. Run Tox
|
||||||
|
# tox
|
||||||
|
|
||||||
|
[tox]
|
||||||
|
envlist =
|
||||||
|
py27,
|
||||||
|
py34,
|
||||||
|
py35,
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
deps =
|
||||||
|
-rrequirements.txt
|
||||||
|
commands =
|
||||||
|
python -c 'import trezorlib'
|
Loading…
Reference in New Issue
Block a user