1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

travis: fix build problems

* remove "in-tree vs generated" check as there is no in-tree anymore
* add protobuf to requirements-dev
* use requirements-dev in tox

travis: do not diff generated against (missing) in-tree messages

travis: in tox env, use requirements-dev
This commit is contained in:
matejcik 2018-07-03 18:14:58 +02:00
parent 19a0f4cc7b
commit 5e7e491308
3 changed files with 2 additions and 5 deletions

View File

@ -41,8 +41,6 @@ before_script:
- ./trigger-travis.sh
script:
# check that generated protobuf messages are identical to in-tree ones
- ./tools/build_protobuf messages.tmp && diff -ur messages.tmp trezorlib/messages && rm -r messages.tmp
- python setup.py install
- flake8
- tox

View File

@ -3,3 +3,4 @@
pytest>=3.5.0
mock>=2.0.0
flake8
protobuf

View File

@ -7,9 +7,7 @@ envlist =
[testenv]
deps =
-rrequirements.txt
pytest
mock
-rrequirements-dev.txt
commands =
python -m compileall trezorlib/
python trezorctl --help