This commit is contained in:
Lex Berezhny 2018-07-29 00:24:38 -04:00 committed by Jack Robison
parent 411b8c74cc
commit 21a2725215
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 10 additions and 6 deletions

View file

@ -1,8 +1,7 @@
sudo: required
dist: xenial
language: python
python:
- "3.6"
python: "3.7"
jobs:
include:
@ -16,8 +15,9 @@ jobs:
- pip install -e .
script: pylint lbrynet
- stage: test
name: "Unit Tests"
- &tests
stage: test
name: "Unit Tests w/ Python 3.7"
install:
- pip install coverage
- pip install git+https://github.com/lbryio/torba.git
@ -27,9 +27,11 @@ jobs:
#script: HOME=/tmp coverage run --source=lbrynet -m twisted.trial tests.functional tests.unit
after_success:
- bash <(curl -s https://codecov.io/bash)
- <<: *tests
name: "Unit Tests w/ Python 3.6"
python: "3.6"
- name: "Integration Tests"
python: "3.7"
install:
- pip install tox-travis coverage
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
@ -44,6 +46,7 @@ jobs:
- stage: build
name: "Windows"
python: "3.6"
services:
- docker
install:
@ -60,6 +63,7 @@ jobs:
- &build
name: "Linux"
python: "3.6"
install:
- pip3 install pyinstaller
- pip3 install git+https://github.com/lbryio/torba.git

View file

@ -1,5 +1,5 @@
[tox]
envlist = py36-integration
envlist = py37-integration
[testenv]
deps =