Files
tripleo-puppet-elements/tox.ini
Alex Schultz 98368f114f Add upper constraints
py27 is currently broken due to a Sphinx failure that is resolved if you
properly include the upper constraints.

Change-Id: I4bcafb92bd307fe469bcab4db760d4245ceecb76
2019-05-20 13:26:44 -06:00

32 lines
713 B
INI

[tox]
minversion = 2.0
skipsdist = True
envlist = pep8,py37,py36,py35,py27
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands=
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:pep8]
basepython = python3
commands = ./run-flake8
[flake8]
ignore = E125,H803
exclude = .venv,.tox,dist,*.egg,build,releasenotes
show-source = true
[testenv:releasenotes]
basepython = python3
commands = bash -c tools/releasenotes_tox.sh