mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
ci: add simple travis check
This commit is contained in:
parent
fbd6e435b8
commit
f098205f3e
35
.travis.yml
Normal file
35
.travis.yml
Normal file
@ -0,0 +1,35 @@
|
||||
# simple Travis file to run style-checks until our internal CI can process external PRs
|
||||
|
||||
language: python
|
||||
sudo: false
|
||||
python:
|
||||
- "3.6"
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
- $HOME/.virtualenvs
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
clang-format
|
||||
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip wheel setuptools
|
||||
- pip install pipenv
|
||||
- pipenv install
|
||||
|
||||
script:
|
||||
- pipenv run make style_check
|
||||
- pipenv run make -C core templates_check
|
||||
- pipenv run make defs_check
|
||||
|
||||
notifications:
|
||||
webhooks:
|
||||
urls:
|
||||
- http://ci-bot.satoshilabs.com:5000/travis
|
||||
on_success: always
|
||||
on_failure: always
|
||||
on_start: always
|
Loading…
Reference in New Issue
Block a user