forked from LBRYCommunity/lbry-sdk
run examples as part of ci
This commit is contained in:
parent
2cfcc3cd45
commit
574a912f7d
1 changed files with 11 additions and 0 deletions
11
.travis.yml
11
.travis.yml
|
@ -35,6 +35,17 @@ jobs:
|
||||||
- coverage combine tests/
|
- coverage combine tests/
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
|
- name: "Run Examples"
|
||||||
|
install:
|
||||||
|
- pip install coverage
|
||||||
|
- pip install git+https://github.com/lbryio/torba.git#egg=torba
|
||||||
|
- pip install -e .
|
||||||
|
script:
|
||||||
|
- HOME=/tmp coverage run -p --source=lbrynet scripts/ scripts/generate_json_api.py
|
||||||
|
after_success:
|
||||||
|
- coverage combine
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
- stage: build
|
- stage: build
|
||||||
name: "Windows"
|
name: "Windows"
|
||||||
language: generic
|
language: generic
|
||||||
|
|
Loading…
Reference in a new issue