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:
|
|
|
|
- "3.6"
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
- $HOME/.virtualenvs
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
clang-format
|
2019-05-13 16:04:30 +00:00
|
|
|
graphviz
|
2019-05-13 15:59:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|