lbry-sdk/.travis.yml

41 lines
1,019 B
YAML
Raw Normal View History

2018-07-21 21:57:26 +02:00
dist: xenial
2018-07-21 22:02:38 +02:00
sudo: true
2018-05-25 08:03:25 +02:00
language: python
2018-07-29 03:08:04 +02:00
python: "3.7"
2018-05-25 08:03:25 +02:00
jobs:
include:
2018-06-14 02:57:57 +02:00
- stage: code quality
name: "pylint & mypy"
install:
2018-07-29 02:57:50 +02:00
- pip install git+https://github.com/PyCQA/pylint.git
- pip install mypy
- pip install -e .
script:
- pylint --rcfile=setup.cfg torba
- mypy torba
2018-05-25 08:03:25 +02:00
- stage: test
2018-07-29 03:08:04 +02:00
python:
- "3.6"
- "3.7"
name: "Unit Tests"
2018-07-29 03:08:04 +02:00
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:
- pip install tox-travis coverage
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
- pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd
2018-07-29 03:08:04 +02:00
script: tox -e integration
after_success:
- coverage combine tests/
- bash <(curl -s https://codecov.io/bash)