mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-24 05:12:02 +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/)
|
||||
|
||||
##Build instructions for emulator
|
||||
|
@ -1,13 +1,16 @@
|
||||
#!/bin/bash
|
||||
results=()
|
||||
error=0
|
||||
for i in *.py; do
|
||||
echo
|
||||
if ../../vendor/micropython/unix/micropython $i; then
|
||||
results+=("OK $i")
|
||||
else
|
||||
results+=("FAIL $i")
|
||||
error=1
|
||||
fi
|
||||
done
|
||||
echo
|
||||
echo 'Summary:'
|
||||
printf '%s\n' "${results[@]}"
|
||||
exit $error
|
||||
|
Loading…
Reference in New Issue
Block a user