forked from LBRYCommunity/lbry-sdk
require python 3.7
This commit is contained in:
parent
7061a62e88
commit
8350b42c1b
2 changed files with 1 additions and 37 deletions
|
@ -1,36 +0,0 @@
|
||||||
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 --ignore-missing-imports torba
|
|
||||||
after_success: skip
|
|
||||||
|
|
||||||
- &tests
|
|
||||||
stage: tests
|
|
||||||
env: TESTTYPE=unit
|
|
||||||
install:
|
|
||||||
- pip install tox-travis
|
|
||||||
script: tox
|
|
||||||
- <<: *tests
|
|
||||||
env: TESTTYPE=integration
|
|
||||||
|
|
||||||
after_success:
|
|
||||||
- pip install coverage
|
|
||||||
- coverage combine tests/
|
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.cache/pip
|
|
||||||
- $TRAVIS_BUILD_DIR/.tox
|
|
|
@ -47,7 +47,7 @@ setup(
|
||||||
'Topic :: Utilities',
|
'Topic :: Utilities',
|
||||||
],
|
],
|
||||||
packages=find_packages(exclude=('tests',)),
|
packages=find_packages(exclude=('tests',)),
|
||||||
python_requires='>=3.6',
|
python_requires='>=3.7',
|
||||||
install_requires=REQUIRES,
|
install_requires=REQUIRES,
|
||||||
extras_require={
|
extras_require={
|
||||||
'gui': (
|
'gui': (
|
||||||
|
|
Loading…
Reference in a new issue