Merge pull request #255 from pylast/python3.7

Add Python 3.7
This commit is contained in:
Hugo 2018-03-27 16:40:13 +03:00 committed by GitHub
commit 68ebcf9487
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 10 deletions

View file

@ -33,6 +33,8 @@ matrix:
env: TOXENV=pypy
- python: 3.6-dev
env: TOXENV=py36dev
- python: 3.7-dev
env: TOXENV=py37dev
allow_failures:
- env: TOXENV=pypy
- env: TOXENV=pypy3

View file

@ -24,6 +24,7 @@ setup(
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],

24
tox.ini
View file

@ -1,5 +1,5 @@
[tox]
envlist = py27, py36, py35, py34, pypy, pypy3, py36dev
envlist = py27, py36, py35, py34, pypy, pypy3, py36dev, py37dev
recreate = False
[testenv]
@ -9,7 +9,9 @@ setenv =
PYLAST_API_KEY={env:PYLAST_API_KEY:}
PYLAST_API_SECRET={env:PYLAST_API_SECRET:}
deps =
pyyaml
# Workaround for yaml/pyyaml#126
py27,py36,py35,py34,pypy,pypy3,py36dev: pyyaml
py37dev: git+https://github.com/yaml/pyyaml@master#egg=pyyaml
pytest
mock
ipdb
@ -21,24 +23,26 @@ commands = pytest -v -s -W all --cov pylast --cov-report term-missing {posargs}
deps = ipdb
commands = {posargs}
[testenv:py2lint]
[testenv:lint]
deps =
pycodestyle
pyflakes
clonedigger
commands =
pyflakes pylast
pyflakes tests
pycodestyle pylast
pycodestyle tests
[testenv:py2lint]
deps =
{[testenv:lint]deps}
clonedigger
commands =
{[testenv:lint]commands}
./clonedigger.sh
[testenv:py3lint]
deps =
pycodestyle
pyflakes
{[testenv:lint]deps}
commands =
pyflakes pylast
pyflakes tests
pycodestyle pylast
pycodestyle tests
{[testenv:lint]commands}