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-21 14:45:15 +00:00
|
|
|
env:
|
|
|
|
- GOAL=stm32
|
|
|
|
- GOAL=unix
|
2017-06-13 17:42:38 +00:00
|
|
|
- GOAL=src
|
2017-04-21 14:45:15 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- compiler: clang
|
|
|
|
env: GOAL=stm32
|
2017-06-13 17:42:38 +00:00
|
|
|
- compiler: clang
|
|
|
|
env: GOAL=src
|
2017-04-21 14:45:15 +00:00
|
|
|
|
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:
|
2017-06-18 22:03:14 +00:00
|
|
|
- pip3 install ed25519 pyblake2
|
|
|
|
- pip3 install flake8
|
|
|
|
- pip3 install ecdsa mnemonic protobuf requests
|
2017-04-06 17:10:40 +00:00
|
|
|
|
2016-10-05 10:50:11 +00:00
|
|
|
script:
|
2017-04-28 13:39:22 +00:00
|
|
|
- test "$GOAL" != "stm32" || make vendorheader
|
|
|
|
- test "$GOAL" != "stm32" || make build_cross
|
|
|
|
- test "$GOAL" != "stm32" || make build_boardloader
|
|
|
|
- test "$GOAL" != "stm32" || make build_bootloader
|
|
|
|
- test "$GOAL" != "stm32" || make build_firmware
|
|
|
|
- test "$GOAL" != "stm32" || make sizecheck
|
2017-04-21 14:45:15 +00:00
|
|
|
|
|
|
|
- test "$GOAL" != "unix" || make build_unix TREZOR_NOUI=1
|
|
|
|
- test "$GOAL" != "unix" || make test
|
2017-04-25 14:18:44 +00:00
|
|
|
- test "$GOAL" != "unix" || make testpy
|
2017-06-13 17:42:38 +00:00
|
|
|
|
|
|
|
- test "$GOAL" != "src" || make style
|
2016-10-06 12:29:09 +00:00
|
|
|
|
|
|
|
notifications:
|
2016-10-06 17:15:19 +00:00
|
|
|
webhooks:
|
|
|
|
urls:
|
2017-06-12 12:40:31 +00:00
|
|
|
- http://ci-bot.satoshilabs.com:5000/travis
|
2016-10-06 12:29:09 +00:00
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
on_start: always
|