commit
68ebcf9487
|
@ -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
|
||||
|
|
1
setup.py
1
setup.py
|
@ -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
24
tox.ini
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue