b0bd0b1fc0
+ converted all comment type annotations to python 3 style syntax annotations + pylint & mypy
30 lines
686 B
YAML
30 lines
686 B
YAML
dist: xenial
|
|
sudo: true
|
|
language: python
|
|
|
|
python:
|
|
- "3.7"
|
|
|
|
jobs:
|
|
include:
|
|
|
|
- stage: code quality
|
|
name: "pylint & mypy"
|
|
install:
|
|
- pip install pylint mypy
|
|
- pip install -e .
|
|
script:
|
|
- pylint --rcfile=setup.cfg torba
|
|
- mypy torba
|
|
|
|
- stage: test
|
|
name: "Unit 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
|
|
script: tox
|
|
after_success:
|
|
- coverage combine tests/
|
|
- bash <(curl -s https://codecov.io/bash)
|