mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
Travis CI: Run tests on emulator
This commit is contained in:
parent
923d5f7555
commit
226999d5b4
17
.travis.yml
17
.travis.yml
@ -19,6 +19,23 @@ env:
|
||||
- DEBUG_LINK=0 FASTFLASH=1
|
||||
- DEBUG_LINK=1 FASTFLASH=1
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- addons:
|
||||
apt:
|
||||
packages:
|
||||
- gcc-multilib
|
||||
env:
|
||||
- EMULATOR=1 HEADLESS=1
|
||||
- DEBUG_LINK=1
|
||||
before_script:
|
||||
- sed -i '/hidapi/d' "vendor/python-trezor/requirements.txt"
|
||||
- pip install --user --requirement "vendor/python-trezor/requirements.txt" rlp pytest
|
||||
- pip install --user --no-deps "vendor/python-trezor"
|
||||
script:
|
||||
- script/cibuild
|
||||
- script/test
|
||||
|
||||
install:
|
||||
- curl -LO "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"
|
||||
- unzip "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" -d protoc
|
||||
|
Loading…
Reference in New Issue
Block a user