2017-04-01 21:59:47 +00:00
|
|
|
sudo: false
|
2016-10-03 14:38:55 +00:00
|
|
|
dist: trusty
|
2016-10-03 14:32:58 +00:00
|
|
|
language: c
|
|
|
|
|
2017-04-21 12:28:36 +00:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2017-04-01 21:59:47 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- build-essential
|
|
|
|
- gcc-multilib
|
|
|
|
- gcc-arm-none-eabi
|
|
|
|
- libnewlib-arm-none-eabi
|
2016-10-03 14:32:58 +00:00
|
|
|
|
2017-04-06 17:10:40 +00:00
|
|
|
install:
|
|
|
|
- pip3 install ed25519 pyblake2
|
|
|
|
|
2016-10-05 10:50:11 +00:00
|
|
|
script:
|
2017-04-21 12:28:36 +00:00
|
|
|
- test "$CC" = "clang" || make vendorheader
|
2017-04-01 21:14:55 +00:00
|
|
|
|
2017-04-21 12:28:36 +00:00
|
|
|
- test "$CC" = "clang" || make build_cross
|
2016-10-05 10:50:11 +00:00
|
|
|
|
2017-04-21 12:28:36 +00:00
|
|
|
- test "$CC" = "clang" || make build_boardloader
|
2017-03-18 11:02:39 +00:00
|
|
|
|
2017-04-21 12:28:36 +00:00
|
|
|
- test "$CC" = "clang" || make build_bootloader
|
2017-03-20 14:41:21 +00:00
|
|
|
|
2017-04-21 12:28:36 +00:00
|
|
|
- test "$CC" = "clang" || make build_firmware
|
2016-10-05 10:50:11 +00:00
|
|
|
|
2017-03-16 18:40:20 +00:00
|
|
|
- make build_unix TREZOR_NOUI=1
|
2016-10-03 14:32:58 +00:00
|
|
|
|
2017-04-21 12:28:36 +00:00
|
|
|
- test "$CC" = "clang" || make test
|
2016-10-06 12:29:09 +00:00
|
|
|
|
|
|
|
notifications:
|
2016-10-06 17:15:19 +00:00
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- http://sway.gk2.sk:5000/travis
|
2016-11-21 15:10:57 +00:00
|
|
|
- http://163.172.132.178:5000/travis
|
2016-10-06 12:29:09 +00:00
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
on_start: always
|