yaml2ical/tox.ini
Doug Hellmann 913f2d8b37 update the versions of python 3 claimed
We're running at least 3.5 in CI, so start there.

Update tox to set the environments from newest to oldest to avoid
issues with the dbm format selected for the .testrepository database
generated by the tests, to allow it to work for all tox environments
on a local system.

Change-Id: I7cde15039f782bba69ed9e0e44b08e289148019e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-11-02 13:57:38 -04:00

27 lines
542 B
INI

[tox]
minversion = 1.6
envlist = py37,py36,py35,pep8
[testenv]
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:mkical]
basepython = python3
commands = yaml2ical -y meetings/ -i icals/ -f
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,*.egg
ignore = H803