mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-05 23:10:12 +00:00
43 lines
769 B
YAML
43 lines
769 B
YAML
language: python
|
|
|
|
# Runs jobs on container based infrastructure
|
|
sudo: false
|
|
|
|
# Saves pip downloads/wheels between builds
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libudev-dev
|
|
- libusb-1.0-0-dev
|
|
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
|
|
install:
|
|
# Optimisation: build requirements as wheels, which get cached by Travis
|
|
- pip install "pip>=7.0" wheel
|
|
- pip install "setuptools>=19.0"
|
|
- pip install tox-travis
|
|
- pip install flake8
|
|
|
|
script:
|
|
- python setup.py install
|
|
- flake8
|
|
- flake8 trezorctl
|
|
- tox
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- http://ci-bot.satoshilabs.com:5000/travis
|
|
on_success: always
|
|
on_failure: always
|
|
on_start: always
|