forked from LBRYCommunity/lbry-sdk
split unit tests and integration tests
This commit is contained in:
parent
a20c060931
commit
6be95dceab
1 changed files with 13 additions and 3 deletions
16
.travis.yml
16
.travis.yml
|
@ -2,8 +2,7 @@ dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
python:
|
python: "3.7"
|
||||||
- "3.7"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
@ -19,12 +18,23 @@ jobs:
|
||||||
- mypy torba
|
- mypy torba
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
|
python:
|
||||||
|
- "3.6"
|
||||||
|
- "3.7"
|
||||||
name: "Unit Tests"
|
name: "Unit Tests"
|
||||||
|
install:
|
||||||
|
- pip install tox-travis coverage
|
||||||
|
script: tox -e unit
|
||||||
|
after_success:
|
||||||
|
- coverage combine tests/
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
|
- name: "Integration Tests"
|
||||||
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
|
||||||
- pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd
|
- pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd
|
||||||
script: tox
|
script: tox -e integration
|
||||||
after_success:
|
after_success:
|
||||||
- coverage combine tests/
|
- coverage combine tests/
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
Loading…
Add table
Reference in a new issue