commit
68ebcf9487
|
@ -33,6 +33,8 @@ matrix:
|
||||||
env: TOXENV=pypy
|
env: TOXENV=pypy
|
||||||
- python: 3.6-dev
|
- python: 3.6-dev
|
||||||
env: TOXENV=py36dev
|
env: TOXENV=py36dev
|
||||||
|
- python: 3.7-dev
|
||||||
|
env: TOXENV=py37dev
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: TOXENV=pypy
|
- env: TOXENV=pypy
|
||||||
- env: TOXENV=pypy3
|
- env: TOXENV=pypy3
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -24,6 +24,7 @@ setup(
|
||||||
"Programming Language :: Python :: 3.4",
|
"Programming Language :: Python :: 3.4",
|
||||||
"Programming Language :: Python :: 3.5",
|
"Programming Language :: Python :: 3.5",
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
],
|
],
|
||||||
|
|
24
tox.ini
24
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py27, py36, py35, py34, pypy, pypy3, py36dev
|
envlist = py27, py36, py35, py34, pypy, pypy3, py36dev, py37dev
|
||||||
recreate = False
|
recreate = False
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -9,7 +9,9 @@ setenv =
|
||||||
PYLAST_API_KEY={env:PYLAST_API_KEY:}
|
PYLAST_API_KEY={env:PYLAST_API_KEY:}
|
||||||
PYLAST_API_SECRET={env:PYLAST_API_SECRET:}
|
PYLAST_API_SECRET={env:PYLAST_API_SECRET:}
|
||||||
deps =
|
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
|
pytest
|
||||||
mock
|
mock
|
||||||
ipdb
|
ipdb
|
||||||
|
@ -21,24 +23,26 @@ commands = pytest -v -s -W all --cov pylast --cov-report term-missing {posargs}
|
||||||
deps = ipdb
|
deps = ipdb
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:py2lint]
|
[testenv:lint]
|
||||||
deps =
|
deps =
|
||||||
pycodestyle
|
pycodestyle
|
||||||
pyflakes
|
pyflakes
|
||||||
clonedigger
|
|
||||||
commands =
|
commands =
|
||||||
pyflakes pylast
|
pyflakes pylast
|
||||||
pyflakes tests
|
pyflakes tests
|
||||||
pycodestyle pylast
|
pycodestyle pylast
|
||||||
pycodestyle tests
|
pycodestyle tests
|
||||||
|
|
||||||
|
[testenv:py2lint]
|
||||||
|
deps =
|
||||||
|
{[testenv:lint]deps}
|
||||||
|
clonedigger
|
||||||
|
commands =
|
||||||
|
{[testenv:lint]commands}
|
||||||
./clonedigger.sh
|
./clonedigger.sh
|
||||||
|
|
||||||
[testenv:py3lint]
|
[testenv:py3lint]
|
||||||
deps =
|
deps =
|
||||||
pycodestyle
|
{[testenv:lint]deps}
|
||||||
pyflakes
|
|
||||||
commands =
|
commands =
|
||||||
pyflakes pylast
|
{[testenv:lint]commands}
|
||||||
pyflakes tests
|
|
||||||
pycodestyle pylast
|
|
||||||
pycodestyle tests
|
|
||||||
|
|
Loading…
Reference in a new issue