blob: f100b399932203e20435155a9d783d7803e41617 [file] [log] [blame]
Marc Koderer3529ea72016-12-02 13:21:03 +01001[tox]
2minversion = 2.0
3envlist = py34,py27,pypy,pep8
4skipsdist = True
5
6[testenv]
7usedevelop = True
8install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
9setenv =
10 VIRTUAL_ENV={envdir}
11 PYTHONWARNINGS=default::DeprecationWarning
12deps = -r{toxinidir}/test-requirements.txt
13commands = python setup.py test --slowest --testr-args='{posargs}'
14
15[testenv:pep8]
Brianna Poulos27d768a2017-02-24 14:01:34 -050016commands =
17 flake8 {posargs}
18 check-uuid --package barbican_tempest_plugin
Marc Koderer3529ea72016-12-02 13:21:03 +010019
20[testenv:venv]
21commands = {posargs}
22
23[testenv:debug]
24commands = oslo_debug_helper {posargs}
25
26[flake8]
27# E123, E125 skipped as they are invalid PEP-8.
28
29show-source = True
30ignore = E123,E125
31builtins = _
32exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build