summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 121910bc71f60607054f73e8ab0aeef56f13e31d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[tox]
envlist = py34,py26,py27,pypy,pep8

[testenv]
distribute = False
install_command = pip install -U {opts} {packages}
commands = nosetests -d --with-coverage --cover-inclusive --cover-package cliff []
deps =
  -r{toxinidir}/requirements.txt
  -r{toxinidir}/test-requirements.txt

[testenv:pep8]
deps = flake8
commands = flake8 cliff doc/source/conf.py setup.py

[testenv:py26]
basepython=python2.6

[testenv:venv]
commands = {posargs}

[testenv:neutronclient-stable]
basepython = python2.7
commands = {toxinidir}/integration-tests/neutronclient-stable.sh {envdir}

[testenv:neutronclient-tip]
basepython = python2.7
deps = -egit+https://git.openstack.org/openstack/python-neutronclient#egg=neutronclient
commands = {toxinidir}/integration-tests/neutronclient-tip.sh {envdir}

[testenv:openstackclient-stable]
basepython = python2.7
commands = {toxinidir}/integration-tests/openstackclient-stable.sh {envdir}

[testenv:openstackclient-tip]
basepython = python2.7
deps = -egit+https://git.openstack.org/openstack/python-openstackclient#egg=openstackclient
commands = {toxinidir}/integration-tests/openstackclient-tip.sh {envdir}

[testenv:docs]
commands = python setup.py build_sphinx