mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-30 03:18:20 +00:00
1ff789101b
[skip_ci]
20 lines
467 B
Bash
Executable File
20 lines
467 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
HERE=`dirname "$0"`
|
|
SHA=${GITHUB_SHA:-unknown}
|
|
cd $HERE
|
|
|
|
function finish {
|
|
./record_video.sh ${T1_CAMERA} ${SHA} stop
|
|
}
|
|
trap finish EXIT
|
|
|
|
set -e # exit on nonzero exitcode
|
|
set -x # trace commands
|
|
|
|
./record_video.sh ${T1_CAMERA} ${SHA} start
|
|
(cd ../.. && poetry install)
|
|
#poetry run python bootstrap.py T1B1 # install official firmware first
|
|
poetry run python bootstrap.py T1B1 ../../firmware-T1*.bin
|
|
poetry run pytest ../../tests/device_tests
|