run examples as part of ci

This commit is contained in:
Lex Berezhny 2019-04-06 16:29:59 -04:00
parent 2cfcc3cd45
commit 574a912f7d

View file

@ -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