Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrobison committed Dec 6, 2019
1 parent f546b20 commit 03dff4b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist: bionic
dist: xenial
language: python
python: "3.7"

Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion lbry/tests/unit/dht/test_node.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import asyncio
import unittest
import typing
from torba.testcase import AsyncioTestCase
from tests import dht_mocks
Expand Down Expand Up @@ -89,7 +90,7 @@ async def test_ping_queue_discover(self):


class TestTemporarilyLosingConnection(AsyncioTestCase):

@unittest.SkipTest
async def test_losing_connection(self):
async def wait_for(check_ok, insist, timeout=20):
start = loop.time()
Expand Down

0 comments on commit 03dff4b

Please sign in to comment.