build py37, using ubuntu xenail on traivs

This commit is contained in:
Lex Berezhny 2018-07-18 00:02:49 -04:00 committed by Jack Robison
parent 318c369752
commit 8ab4dd6b2c
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 14 additions and 13 deletions

View file

@ -1,7 +1,8 @@
sudo: true
dist: xenial
language: python
python:
- "2.7"
- "3.6"
- "3.7"
addons:
apt:

22
tox.ini
View file

@ -1,24 +1,24 @@
[tox]
envlist = py27-unit,py36-integration
envlist = py37
[testenv]
deps =
pylint
coverage
../torba
../electrumx
../lbryschema
unit: pylint
integration: ../electrumx
integration: ../orchstr8
integration: ../lbryumx
../lbryumx
../orchstr8
extras = test
changedir = {toxinidir}/tests
setenv =
HOME=/tmp
PYTHONHASHSEED=0
integration: LEDGER=lbrynet.wallet
LEDGER=lbrynet.wallet
commands =
unit: pylint --rcfile=../.pylintrc ../lbrynet
unit: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial functional unit
integration: orchstr8 download
integration: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_transactions.BasicTransactionTest
integration: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_commands.CommonWorkflowTests
pylint --rcfile=../.pylintrc ../lbrynet
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial functional unit
orchstr8 download
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_transactions.BasicTransactionTest
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_commands.CommonWorkflowTests