python-trezor/.travis.yml

43 lines
769 B
YAML
Raw Permalink Normal View History

2015-12-21 11:42:33 -08:00
language: python
# Runs jobs on container based infrastructure
sudo: false
# Saves pip downloads/wheels between builds
cache:
directories:
- $HOME/.cache/pip
2016-01-19 13:55:50 -08:00
addons:
apt:
packages:
- libudev-dev
- libusb-1.0-0-dev
2015-12-21 11:42:33 -08:00
python:
2018-03-06 04:48:54 -08:00
- "3.3"
2015-12-21 11:42:33 -08:00
- "3.4"
2016-01-19 13:35:02 -08:00
- "3.5"
2017-04-25 07:50:56 -07:00
- "3.6"
2016-01-19 13:55:50 -08:00
2015-12-21 11:42:33 -08:00
install:
# Optimisation: build requirements as wheels, which get cached by Travis
- pip install "pip>=7.0" wheel
- pip install "setuptools>=19.0"
2017-06-13 06:43:14 -07:00
- pip install tox-travis
2017-06-23 12:31:42 -07:00
- pip install flake8
2015-12-21 11:42:33 -08:00
script:
- python setup.py install
2017-06-23 12:31:42 -07:00
- flake8
2017-07-03 08:45:56 -07:00
- flake8 trezorctl
2017-06-13 06:43:14 -07:00
- tox
2017-06-12 05:38:07 -07:00
notifications:
webhooks:
urls:
- http://ci-bot.satoshilabs.com:5000/travis
on_success: always
on_failure: always
on_start: always