mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-30 02:18:16 +00:00
add travis tests
This commit is contained in:
parent
31a937de1b
commit
d995e53d28
12
.travis.yml
Normal file
12
.travis.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
language: c
|
||||||
|
|
||||||
|
install:
|
||||||
|
- sudo dpkg --add-architecture i386
|
||||||
|
- sudo apt-get update
|
||||||
|
- sudo apt-get install libsdl2-dev:i386
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- make build_unix
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cd src/tests && bash ./runtests.sh
|
@ -1,5 +1,7 @@
|
|||||||

|

|
||||||
|
|
||||||
|
[](https://travis-ci.org/trezor/trezor-core) [](https://gitter.im/trezor/community)
|
||||||
|
|
||||||
* [Documentation](docs/)
|
* [Documentation](docs/)
|
||||||
|
|
||||||
##Build instructions for emulator
|
##Build instructions for emulator
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
results=()
|
results=()
|
||||||
|
error=0
|
||||||
for i in *.py; do
|
for i in *.py; do
|
||||||
echo
|
echo
|
||||||
if ../../vendor/micropython/unix/micropython $i; then
|
if ../../vendor/micropython/unix/micropython $i; then
|
||||||
results+=("OK $i")
|
results+=("OK $i")
|
||||||
else
|
else
|
||||||
results+=("FAIL $i")
|
results+=("FAIL $i")
|
||||||
|
error=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
echo 'Summary:'
|
echo 'Summary:'
|
||||||
printf '%s\n' "${results[@]}"
|
printf '%s\n' "${results[@]}"
|
||||||
|
exit $error
|
||||||
|
Loading…
Reference in New Issue
Block a user