1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00

use travis-tox

This commit is contained in:
Pavol Rusnak 2017-06-13 15:43:14 +02:00
parent 2e85aa6587
commit 4874f117f5
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 5 additions and 20 deletions

View File

@ -24,9 +24,11 @@ install:
# Optimisation: build requirements as wheels, which get cached by Travis # Optimisation: build requirements as wheels, which get cached by Travis
- pip install "pip>=7.0" wheel - pip install "pip>=7.0" wheel
- pip install "setuptools>=19.0" - pip install "setuptools>=19.0"
- pip install tox-travis
script: script:
- python setup.py install - python setup.py install
- tox
notifications: notifications:
webhooks: webhooks:

23
tox.ini
View File

@ -1,23 +1,6 @@
# To test against multiple python versions
#
# 1. Install those Python versions.
# On Ubuntu we suggest the deadsnakes PPA
# https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes
#
# 2. Install Tox (e.g. with pip)
# pip install Tox
#
# 3. Run Tox
# tox
[tox] [tox]
envlist = envlist = py27,py34,py35,py36
py27,
py34,
py35,
[testenv] [testenv]
deps = deps = -rrequirements.txt
-rrequirements.txt commands = python -m compileall trezorlib/
commands =
python -m compileall trezorlib/