Add testing for Python 3.8 and remove 3.5

This commit is contained in:
Simon Conseil
2020-01-04 00:57:08 -03:00
parent 42b362ace0
commit 1b27cc3258
5 changed files with 16 additions and 19 deletions

View File

@@ -4,13 +4,6 @@ dist: xenial
matrix:
include:
- python: 3.5
before_install:
- sudo add-apt-repository ppa:mc3man/xerus-media -y
- sudo apt-get update -qq
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
before_script:
ffmpeg --help
- python: 3.6
before_install:
- sudo add-apt-repository ppa:mc3man/xerus-media -y
@@ -25,9 +18,16 @@ matrix:
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
before_script:
ffmpeg --help
- python: 3.6
- python: 3.8
before_install:
- sudo add-apt-repository ppa:mc3man/xerus-media -y
- sudo apt-get update -qq
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
before_script:
ffmpeg --help
- python: 3.8
env: TOXENV=doc
- python: 3.6
- python: 3.8
env: TOXENV=check
allow_failures:
- env: TOXENV=check

View File

@@ -14,9 +14,9 @@ classifiers =
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Internet :: WWW/HTTP
Topic :: Multimedia :: Graphics :: Viewers
Topic :: Software Development :: Libraries :: Python Modules
@@ -25,7 +25,7 @@ classifiers =
zip_safe = False
include_package_data = True
packages = find:
python_requires = >=3.5
python_requires = >=3.6
setup_requires =
setuptools_scm
install_requires =

View File

@@ -1,7 +1,7 @@
import sys
from setuptools import setup
if sys.version_info[:2] < (3, 5):
sys.exit('Sigal supports Python 3.5+ only')
if sys.version_info[:2] < (3, 6):
sys.exit('Sigal supports Python 3.6+ only')
setup(use_scm_version=True)

View File

@@ -46,9 +46,6 @@ __url__ = 'https://github.com/saimn/sigal'
_DEFAULT_CONFIG_FILE = 'sigal.conf.py'
if sys.version_info[:2] < (3, 5):
raise Exception('Sigal supports Python 3.5+ only')
@click.group()
@click.version_option(version=__version__)

View File

@@ -1,12 +1,12 @@
[tox]
envlist = py{35,36,37}
envlist = py{36,37,38}
skip_missing_interpreters = True
[travis]
python =
3.7: py37
3.6: py36
3.5: py35
3.7: py37
3.8: py38
[testenv]
deps =