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
- pip install "pip>=7.0" wheel
- pip install "setuptools>=19.0"
- pip install tox-travis
script:
- python setup.py install
- tox
notifications:
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]
envlist =
py27,
py34,
py35,
envlist = py27,py34,py35,py36
[testenv]
deps =
-rrequirements.txt
commands =
python -m compileall trezorlib/
deps = -rrequirements.txt
commands = python -m compileall trezorlib/