travis coverage combine fix

This commit is contained in:
Lex Berezhny 2019-06-20 16:06:21 -04:00
parent 1ec1ad19f8
commit b1e70723c7
2 changed files with 11 additions and 12 deletions

View file

@ -21,26 +21,25 @@ jobs:
script:
- cd lbry && HOME=/tmp coverage run -p --source=lbrynet -m unittest discover -vv tests.unit
after_success:
- cd lbry && coverage combine
- cd lbry && bash <(curl -s https://codecov.io/bash)
- coverage combine lbry/
- bash <(curl -s https://codecov.io/bash)
- name: "Torba Unit Tests"
env: TESTTYPE=unit
install:
- pip install tox-travis
- pip install coverage tox-travis
script: cd torba && tox
after_success:
- pip install coverage
- cd torba && coverage combine tests/
- cd torba && bash <(curl -s https://codecov.io/bash)
- coverage combine torba/tests
- bash <(curl -s https://codecov.io/bash)
- name: "LBRY Integration Tests"
install:
- pip install tox-travis coverage
- pip install coverage tox-travis
script: cd lbry && tox
after_success:
- cd lbry && coverage combine
- cd lbry && bash <(curl -s https://codecov.io/bash)
- coverage combine lbry
- bash <(curl -s https://codecov.io/bash)
- name: "Run Examples"
install:
@ -49,8 +48,8 @@ jobs:
script:
- cd lbry && HOME=/tmp coverage run -p --source=lbrynet scripts/generate_json_api.py
after_success:
- cd lbry && coverage combine
- cd lbry && bash <(curl -s https://codecov.io/bash)
- coverage combine lbry
- bash <(curl -s https://codecov.io/bash)
- stage: build
name: "Windows"

View file

@ -3,6 +3,6 @@ install:
cd lbry && pip install -e .
lint:
cd lbry && pylint lbrynet
cd torba && pylint --rcfile=setup.cfg torba
cd torba && mypy --ignore-missing-imports torba
cd lbry && pylint lbrynet