trezor-mcu/.travis.yml

61 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2017-04-01 14:43:39 -07:00
sudo: false
dist: trusty
2015-08-05 07:38:53 -07:00
language: c
2017-04-01 14:43:39 -07:00
addons:
apt:
packages:
- build-essential
- gcc-arm-none-eabi
- libnewlib-arm-none-eabi
2017-12-18 13:48:52 -08:00
- python3-pip
env:
global:
- MAKEFLAGS=-j2
2017-12-18 13:48:52 -08:00
- PYTHON=python3
- 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 07:38:53 -07:00
2017-12-17 08:04:02 -08:00
matrix:
include:
- addons:
apt:
packages:
- gcc-multilib
2017-12-18 13:48:52 -08:00
- python3-pip
2017-12-17 08:04:02 -08:00
env:
- EMULATOR=1 HEADLESS=1
- DEBUG_LINK=1
before_script:
2017-12-18 13:48:52 -08:00
- $PYTHON -m pip install --user pytest
- $PYTHON -m pip install --user ecdsa mnemonic
- $PYTHON -m pip install --user rlp
- $PYTHON -m pip install --user --no-deps git+https://github.com/trezor/python-trezor@master
2017-12-17 08:04:02 -08:00
script:
- script/cibuild
2017-12-19 10:35:23 -08:00
- script/test -k 'not skip_t1'
2017-12-17 08:04:02 -08:00
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"
2017-12-18 13:48:52 -08:00
- $PYTHON -m pip install --user "protobuf==${PROTOBUF_VERSION}"
2015-08-05 07:38:53 -07:00
script:
2017-12-17 08:00:32 -08:00
- script/cibuild
- make -C bootloader
2015-12-14 15:30:10 -08:00
- make -C demo
2016-11-23 02:50:14 -08:00
notifications:
webhooks:
urls:
2017-06-12 05:42:11 -07:00
- http://ci-bot.satoshilabs.com:5000/travis
2016-11-23 02:50:14 -08:00
on_success: always
on_failure: always
on_start: always