1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 05:03:07 +00:00
trezor-firmware/.travis.yml

57 lines
1.3 KiB
YAML
Raw Normal View History

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:
- build-essential
- gcc-arm-none-eabi
- libnewlib-arm-none-eabi
env:
global:
- MAKEFLAGS=-j2
- PROTOBUF_VERSION=3.4.0
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
2017-12-17 16:04:02 +00:00
matrix:
include:
- addons:
apt:
packages:
- gcc-multilib
env:
- EMULATOR=1 HEADLESS=1
- DEBUG_LINK=1
before_script:
- sed -i '/hidapi/d' "vendor/python-trezor/requirements.txt"
- pip install --user --requirement "vendor/python-trezor/requirements.txt" rlp pytest
- pip install --user --no-deps "vendor/python-trezor"
script:
- script/cibuild
- script/test
install:
- curl -LO "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"
- unzip "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" -d protoc
- export PATH="$(pwd)/protoc/bin:$PATH"
- pip2 install --user "protobuf==${PROTOBUF_VERSION}"
2015-08-05 14:38:53 +00:00
script:
2017-12-17 16:00:32 +00:00
- script/cibuild
- make -C bootloader
2015-12-14 23:30:10 +00:00
- 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