azure pipelines [skip travis] [skip appveyor]

This commit is contained in:
Anthony Sottile 2019-04-28 17:36:54 -07:00
parent 09e64e8ff6
commit 9c6edab726
9 changed files with 72 additions and 85 deletions

15
tox.ini
View file

@ -1,20 +1,19 @@
[tox]
project = pre_commit
# These should match the travis env list
envlist = py27,py36,py37,pypy
envlist = py27,py36,py37,pypy,pypy3,pre-commit
[testenv]
deps = -rrequirements-dev.txt
passenv = LOCALAPPDATA
passenv = HOME LOCALAPPDATA
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report --fail-under 100
pre-commit run --all-files
pre-commit install
[testenv:venv]
envdir = venv-{[tox]project}
commands =
[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[pep8]
ignore = E265,E501,W504