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 language: python
python: python:
- "2.7" - "3.7"
- "3.6"
addons: addons:
apt: apt:

22
tox.ini
View file

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