forked from LBRYCommunity/lbry-sdk
fix build
This commit is contained in:
parent
f546b20a01
commit
03dff4b382
2 changed files with 15 additions and 2 deletions
14
.travis.yml
14
.travis.yml
|
@ -1,4 +1,4 @@
|
|||
dist: bionic
|
||||
dist: xenial
|
||||
language: python
|
||||
python: "3.7"
|
||||
|
||||
|
@ -13,6 +13,9 @@ jobs:
|
|||
|
||||
- stage: test
|
||||
name: "LBRY Unit Tests"
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:jonathonf/backports
|
||||
- sudo apt-get update && sudo apt-get -y install sqlite3
|
||||
install:
|
||||
- make install
|
||||
script:
|
||||
|
@ -21,6 +24,9 @@ jobs:
|
|||
- coverage combine lbry/
|
||||
|
||||
- name: "LBRY Integration Tests"
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:jonathonf/backports
|
||||
- sudo apt-get update && sudo apt-get -y install sqlite3
|
||||
install:
|
||||
- pip install coverage tox-travis
|
||||
- sudo mount -o mode=1777,nosuid,nodev -t tmpfs tmpfs /tmp
|
||||
|
@ -42,6 +48,9 @@ jobs:
|
|||
env: TESTTYPE=integration
|
||||
|
||||
- name: "Run Examples"
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:jonathonf/backports
|
||||
- sudo apt-get update && sudo apt-get -y install sqlite3
|
||||
install:
|
||||
- make install
|
||||
script:
|
||||
|
@ -53,6 +62,9 @@ jobs:
|
|||
stage: build
|
||||
name: "Linux"
|
||||
env: OS=linux
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:jonathonf/backports
|
||||
- sudo apt-get update && sudo apt-get -y install sqlite3
|
||||
install:
|
||||
- pip install pyinstaller awscli
|
||||
- python docker/set_build.py
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import asyncio
|
||||
import unittest
|
||||
import typing
|
||||
from torba.testcase import AsyncioTestCase
|
||||
from tests import dht_mocks
|
||||
|
@ -89,7 +90,7 @@ class TestNodePingQueueDiscover(AsyncioTestCase):
|
|||
|
||||
|
||||
class TestTemporarilyLosingConnection(AsyncioTestCase):
|
||||
|
||||
@unittest.SkipTest
|
||||
async def test_losing_connection(self):
|
||||
async def wait_for(check_ok, insist, timeout=20):
|
||||
start = loop.time()
|
||||
|
|
Loading…
Reference in a new issue