mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
travis: use Tox for test automation
This commit is contained in:
parent
e8dd11161b
commit
1eccadfc13
3 changed files with 13 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,3 +15,4 @@ locale/
|
|||
*_trial_temp
|
||||
packages
|
||||
env/
|
||||
.tox/
|
||||
|
|
|
@ -3,8 +3,6 @@ language: python
|
|||
python:
|
||||
- "2.7"
|
||||
install:
|
||||
- "pip install ."
|
||||
- "pip install coverage"
|
||||
- pip install tox
|
||||
script:
|
||||
- "coverage run --source=lib -m py.test -v"
|
||||
- "coverage report"
|
||||
- tox
|
||||
|
|
10
tox.ini
Normal file
10
tox.ini
Normal file
|
@ -0,0 +1,10 @@
|
|||
[tox]
|
||||
envlist = py27
|
||||
|
||||
[testenv]
|
||||
deps=
|
||||
pytest
|
||||
coverage
|
||||
commands=
|
||||
coverage run --source=lib -m py.test -v
|
||||
coverage report
|
Loading…
Add table
Reference in a new issue