Toolchain update travis drop py2x (#336)

* drop python 2 from supported languages

Python 2 compatibility will not be actively revoked, but will
not be worked on.

* update travis config

* remove flake8-test with Py2.7
This commit is contained in:
Patrick Kanzler 2019-06-11 00:24:09 +02:00 committed by GitHub
parent 63252515b5
commit 5ac5a24b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 9 deletions

View File

@ -1,6 +1,7 @@
language: python language: python
sudo: false sudo: false
cache: pip cache: pip
dist: xenial
git: git:
depth: 100000 depth: 100000
addons: addons:
@ -22,23 +23,26 @@ matrix:
env: TOXENV=py36 env: TOXENV=py36
- python: 3.6-dev - python: 3.6-dev
env: TOXENV=py36 env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.7-dev - python: 3.7-dev
env: TOXENV=py37 env: TOXENV=py37
- python: 3.8-dev
env: TOXENV=py38
- python: nightly - python: nightly
env: TOXENV=py37 env: TOXENV=py38
- python: pypy - python: pypy
env: TOXENV=pypy env: TOXENV=pypy
- python: pypy3 - python: pypy3
env: TOXENV=pypy3 env: TOXENV=pypy3
- python: 2.7 - python: 3.7
env: TOXENV=docs env: TOXENV=docs
- python: 2.7 - python: 3.7
env: TOXENV=flake8
- python: 3.6
env: TOXENV=flake8 env: TOXENV=flake8
allow_failures: allow_failures:
- python: 3.6-dev - python: 3.6-dev
- python: 3.7-dev - python: 3.7-dev
- python: 3.8-dev
- python: nightly - python: nightly
- python: pypy3 - python: pypy3
before_install: before_install:
@ -63,4 +67,4 @@ deploy:
tags: true tags: true
repo: python-escpos/python-escpos repo: python-escpos/python-escpos
branch: master branch: master
condition: $TRAVIS_PYTHON_VERSION = "3.6" condition: $TRAVIS_PYTHON_VERSION = "3.7"

View File

@ -65,8 +65,6 @@ setup(
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27, py34, py35, docs, flake8 envlist = py27, py34, py35, py36, py37, docs, flake8
[testenv] [testenv]
deps = nose deps = nose