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

View file

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