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:
parent
2e85aa6587
commit
4874f117f5
@ -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
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]
|
[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/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user