mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
use travis-tox
This commit is contained in:
parent
2e85aa6587
commit
4874f117f5
@ -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
23
tox.ini
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user