travis
This commit is contained in:
parent
411b8c74cc
commit
21a2725215
2 changed files with 10 additions and 6 deletions
14
.travis.yml
14
.travis.yml
|
@ -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
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py36-integration
|
||||
envlist = py37-integration
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
|
|
Loading…
Reference in a new issue