From 574a912f7d035ecb77b1fe79da0d1f1f6ba1c886 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 6 Apr 2019 16:29:59 -0400 Subject: [PATCH] run examples as part of ci --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index b2a0b2dec..6a9a87fb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,17 @@ jobs: - coverage combine tests/ - 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 name: "Windows" language: generic