mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
c121627a06
This should catch inconsistencies with Features.coins or if there is a build configuration that makes the firmware too large. Also, add MAKEFLAGS and only build STM32F2 support in libopencm3 to speed up build time
36 lines
636 B
YAML
36 lines
636 B
YAML
sudo: false
|
|
dist: trusty
|
|
language: c
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- build-essential
|
|
- gcc-arm-none-eabi
|
|
- libnewlib-arm-none-eabi
|
|
|
|
env:
|
|
global:
|
|
- MAKEFLAGS=-j2
|
|
matrix:
|
|
- DEBUG_LINK=0 FASTFLASH=0
|
|
- DEBUG_LINK=1 FASTFLASH=0
|
|
- DEBUG_LINK=0 FASTFLASH=1
|
|
- DEBUG_LINK=1 FASTFLASH=1
|
|
|
|
script:
|
|
- CFLAGS="-std=c99" make -C vendor/libopencm3 lib/stm32/f2
|
|
- make
|
|
- make -C bootloader
|
|
- make -C fastflash
|
|
- make -C firmware
|
|
- make -C demo
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- http://ci-bot.satoshilabs.com:5000/travis
|
|
on_success: always
|
|
on_failure: always
|
|
on_start: always
|