2017-04-01 21:43:39 +00:00
|
|
|
sudo: false
|
|
|
|
dist: trusty
|
2015-08-05 14:38:53 +00:00
|
|
|
language: c
|
|
|
|
|
2017-04-01 21:43:39 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2017-08-14 13:18:36 +00:00
|
|
|
- build-essential
|
|
|
|
- gcc-arm-none-eabi
|
|
|
|
- libnewlib-arm-none-eabi
|
2017-09-29 18:41:29 +00:00
|
|
|
- protobuf-compiler
|
|
|
|
- libprotobuf-dev
|
|
|
|
- python-protobuf
|
2017-08-14 13:18:36 +00:00
|
|
|
|
|
|
|
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
|
2015-08-05 14:38:53 +00:00
|
|
|
|
|
|
|
script:
|
2017-08-28 11:47:15 +00:00
|
|
|
- make -C vendor/libopencm3 lib/stm32/f2
|
2017-09-29 18:41:29 +00:00
|
|
|
- make -C vendor/nanopb/generator/proto
|
2015-12-14 23:30:10 +00:00
|
|
|
- make
|
2017-07-04 18:21:10 +00:00
|
|
|
- make -C bootloader
|
|
|
|
- make -C fastflash
|
2017-09-29 19:01:59 +00:00
|
|
|
- sed -i '/, deprecated = true/d' firmware/protob/messages.proto # protobuf 2.5 compatibility :-/
|
2017-09-29 18:41:29 +00:00
|
|
|
- make -C firmware/protob
|
2015-12-14 23:30:10 +00:00
|
|
|
- make -C firmware
|
|
|
|
- make -C demo
|
2016-11-23 10:50:14 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
2017-06-12 12:42:11 +00:00
|
|
|
- http://ci-bot.satoshilabs.com:5000/travis
|
2016-11-23 10:50:14 +00:00
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
on_start: always
|