2017-11-14 01:18:28 +00:00
|
|
|
language: python
|
|
|
|
|
|
|
|
# Runs jobs on container based infrastructure
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Saves pip downloads/wheels between builds
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
|
|
|
python:
|
2018-08-23 16:32:12 +00:00
|
|
|
- "3.6"
|
2017-11-14 01:18:28 +00:00
|
|
|
|
2018-04-28 20:00:06 +00:00
|
|
|
install:
|
2018-10-18 12:08:22 +00:00
|
|
|
- pip install demjson graphviz
|
2018-07-30 14:01:23 +00:00
|
|
|
- pip install -r tools/requirements.txt
|
2018-04-28 20:00:06 +00:00
|
|
|
|
2017-11-14 01:18:28 +00:00
|
|
|
script:
|
2018-06-21 14:39:04 +00:00
|
|
|
- jsonlint defs/*.json
|
2018-06-25 10:17:52 +00:00
|
|
|
- jsonlint defs/*/*.json
|
2018-08-23 16:32:12 +00:00
|
|
|
- python tools/cointool.py check
|
|
|
|
- python tools/support.py check --ignore-tokens --ignore-missing
|
2018-10-18 12:08:22 +00:00
|
|
|
- python protob/graph.py protob/*.proto
|
2017-11-14 01:18:28 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- http://ci-bot.satoshilabs.com:5000/travis
|
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
on_start: always
|