2015-08-24 11:53:29 +00:00
|
|
|
sudo: false
|
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2016-10-31 20:28:12 +00:00
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2016-10-28 18:51:45 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libudev-dev
|
|
|
|
- libusb-1.0-0-dev
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- pip install -U setuptools pylint coverage pep8 pydocstyle "pip>=7.0" wheel
|
2016-10-31 20:28:12 +00:00
|
|
|
- pip install -e git+https://github.com/keepkey/python-keepkey@6e8baa8b935e830d05f87b6dfd9bc7c927a96dc3#egg=keepkey
|
2016-01-09 15:46:07 +00:00
|
|
|
|
|
|
|
install:
|
2016-10-28 18:51:45 +00:00
|
|
|
- pip install -e .
|
2016-01-09 15:46:07 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- pep8 trezor_agent
|
|
|
|
- pylint --reports=no --rcfile .pylintrc trezor_agent
|
2016-02-19 09:41:05 +00:00
|
|
|
- pydocstyle trezor_agent
|
2016-01-09 15:46:07 +00:00
|
|
|
- coverage run --source trezor_agent/ -m py.test -v
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coverage report
|
|
|
|
|