run torba unit tests the way lex runs them
This commit is contained in:
parent
505652efa0
commit
099b0b65c0
1 changed files with 8 additions and 12 deletions
|
@ -29,29 +29,25 @@ test:lbry-unit:
|
||||||
- make install tools
|
- make install tools
|
||||||
- cd lbry && HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
- cd lbry && HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
||||||
|
|
||||||
|
|
||||||
test:lbry-integ:
|
test:lbry-integ:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- pip install coverage tox-travis
|
- pip install coverage tox-travis
|
||||||
- cd lbry && tox
|
- cd lbry && tox
|
||||||
|
|
||||||
|
test:torba-unit:
|
||||||
.torba-tests: &torba_tests
|
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- pip install coverage tox-travis
|
- pip install coverage tox-travis
|
||||||
- cd torba && tox
|
- cd torba/tests
|
||||||
|
- tox -e py37-unit
|
||||||
test:torba-unit:
|
|
||||||
before_script:
|
|
||||||
- export TESTTYPE=unit
|
|
||||||
<<: *torba_tests
|
|
||||||
|
|
||||||
test:torba-integ:
|
test:torba-integ:
|
||||||
before_script:
|
stage: test
|
||||||
- export TESTTYPE=integration
|
script:
|
||||||
<<: *torba_tests
|
- pip install coverage tox-travis
|
||||||
|
- cd torba/tests
|
||||||
|
- tox -e py37-integration-torba.coin.bitcoinsegwit
|
||||||
|
|
||||||
test:json-api:
|
test:json-api:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue