forked from LBRYCommunity/lbry-sdk
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
|
sudo: required
|
||||||
dist: xenial
|
dist: xenial
|
||||||
language: python
|
language: python
|
||||||
python:
|
python: "3.7"
|
||||||
- "3.6"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
@ -16,8 +15,9 @@ jobs:
|
||||||
- pip install -e .
|
- pip install -e .
|
||||||
script: pylint lbrynet
|
script: pylint lbrynet
|
||||||
|
|
||||||
- stage: test
|
- &tests
|
||||||
name: "Unit Tests"
|
stage: test
|
||||||
|
name: "Unit Tests w/ Python 3.7"
|
||||||
install:
|
install:
|
||||||
- pip install coverage
|
- pip install coverage
|
||||||
- pip install git+https://github.com/lbryio/torba.git
|
- 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
|
#script: HOME=/tmp coverage run --source=lbrynet -m twisted.trial tests.functional tests.unit
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
- <<: *tests
|
||||||
|
name: "Unit Tests w/ Python 3.6"
|
||||||
|
python: "3.6"
|
||||||
|
|
||||||
- name: "Integration Tests"
|
- name: "Integration Tests"
|
||||||
python: "3.7"
|
|
||||||
install:
|
install:
|
||||||
- pip install tox-travis coverage
|
- pip install tox-travis coverage
|
||||||
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
|
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
|
||||||
|
@ -44,6 +46,7 @@ jobs:
|
||||||
|
|
||||||
- stage: build
|
- stage: build
|
||||||
name: "Windows"
|
name: "Windows"
|
||||||
|
python: "3.6"
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
install:
|
install:
|
||||||
|
@ -60,6 +63,7 @@ jobs:
|
||||||
|
|
||||||
- &build
|
- &build
|
||||||
name: "Linux"
|
name: "Linux"
|
||||||
|
python: "3.6"
|
||||||
install:
|
install:
|
||||||
- pip3 install pyinstaller
|
- pip3 install pyinstaller
|
||||||
- pip3 install git+https://github.com/lbryio/torba.git
|
- pip3 install git+https://github.com/lbryio/torba.git
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py36-integration
|
envlist = py37-integration
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in a new issue