forked from trezor/trezor-mcu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
57 lines (51 loc) · 1.34 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
sudo: false
dist: trusty
language: c
addons:
apt:
packages:
- build-essential
- gcc-arm-none-eabi
- libnewlib-arm-none-eabi
- python3-pip
env:
global:
- MAKEFLAGS=-j2
- PYTHON=python3
- PROTOBUF_VERSION=3.4.0
matrix:
- DEBUG_LINK=0
- DEBUG_LINK=1
matrix:
include:
- addons:
apt:
packages:
- gcc-multilib
- python3-pip
env:
- EMULATOR=1 HEADLESS=1
- DEBUG_LINK=1
before_script:
- $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
script:
- script/cibuild && script/test -k 'not skip_t1'
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"
- $PYTHON -m pip install --user "protobuf==${PROTOBUF_VERSION}"
script:
- script/cibuild
- make -C bootloader
- make -C demo
notifications:
webhooks:
urls:
- http://ci-bot.satoshilabs.com:5000/travis
on_success: always
on_failure: always
on_start: always