install extras from github

This commit is contained in:
Lex Berezhny 2018-11-04 05:22:57 -05:00
parent 9c91b135bd
commit 0cef2fdd82
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ jobs:
name: "pylint lbrynet" name: "pylint lbrynet"
install: install:
- pip install pylint - pip install pylint
- pip install git+https://github.com/lbryio/torba.git - pip install git+https://github.com/lbryio/torba.git[server]
- pip install -e .[wallet-server] - pip install -e .[wallet-server]
script: pylint lbrynet script: pylint lbrynet
@ -19,7 +19,7 @@ jobs:
name: "Unit Tests w/ Python 3.7" name: "Unit Tests w/ Python 3.7"
install: install:
- pip install coverage - pip install coverage
- pip install git+https://github.com/lbryio/torba.git - pip install git+https://github.com/lbryio/torba.git[server]
- pip install -e .[test] - pip install -e .[test]
script: script:
- HOME=/tmp coverage run -p --source=lbrynet -m unittest discover -v tests.unit.wallet - HOME=/tmp coverage run -p --source=lbrynet -m unittest discover -v tests.unit.wallet

View file

@ -9,7 +9,7 @@ extras = test
changedir = {toxinidir}/tests changedir = {toxinidir}/tests
setenv = setenv =
HOME=/tmp HOME=/tmp
TORBA_LEDGER=lbrynet.wallet TORBA_LEDGER=lbrynet.extras.wallet
commands = commands =
orchstr8 download orchstr8 download
coverage run -p --source={envsitepackagesdir}/lbrynet -m unittest integration.wallet.test_transactions.BasicTransactionTest coverage run -p --source={envsitepackagesdir}/lbrynet -m unittest integration.wallet.test_transactions.BasicTransactionTest