1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
trezor-firmware/.travis.yml

44 lines
1.0 KiB
YAML
Raw Normal View History

2019-05-13 15:59:30 +00:00
# simple Travis file to run style-checks until our internal CI can process external PRs
language: python
2019-05-13 16:04:30 +00:00
dist: xenial
2019-05-13 15:59:30 +00:00
sudo: false
python:
2019-12-08 09:28:35 +00:00
- "3.7"
2019-05-13 15:59:30 +00:00
cache:
directories:
- $HOME/.cache/pip
- $HOME/.virtualenvs
addons:
apt:
packages:
2019-05-14 09:29:03 +00:00
- graphviz
2019-05-13 15:59:30 +00:00
2019-05-14 09:29:03 +00:00
env:
global:
PROTOBUF_VERSION=3.6.1
2019-05-13 15:59:30 +00:00
install:
- pip install --upgrade pip wheel setuptools
- pip install pipenv
2019-08-08 12:17:52 +00:00
- pipenv sync
2019-05-17 13:14:41 +00:00
# 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"
2019-05-13 15:59:30 +00:00
script:
- pipenv run make style_check
- pipenv run make defs_check
2019-05-17 13:14:41 +00:00
- pipenv run make gen_check
2019-05-13 15:59:30 +00:00
notifications:
webhooks:
urls:
- http://ci-bot.satoshilabs.com:5000/travis
on_success: always
on_failure: always
on_start: always