forked from trezor/trezor-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 1.02 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
# simple Travis file to run style-checks until our internal CI can process external PRs
language: python
dist: xenial
sudo: false
python:
- "3.7"
cache:
directories:
- $HOME/.cache/pip
- $HOME/.virtualenvs
addons:
apt:
packages:
- graphviz
env:
global:
PROTOBUF_VERSION=3.6.1
install:
- pip install --upgrade pip wheel setuptools
- pip install pipenv
- pipenv sync
# make sure pipenv is installable without protobuf - install protoc later
- 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"
script:
- pipenv run make style_check
- pipenv run make defs_check
- pipenv run make gen_check
notifications:
webhooks:
urls:
- http://ci-bot.satoshilabs.com:5000/travis
on_success: always
on_failure: always
on_start: always