forked from gnocchixyz/python-gnocchiclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (36 loc) · 1.07 KB
/
tox.ini
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
42
43
[tox]
minversion = 1.6
envlist = py35,py36,py27,pypy,pep8,docs-gnocchi.xyz
skipsdist = True
[testenv]
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
GNOCCHI_CLIENT_EXEC_DIR={envdir}/bin
passenv = GNOCCHI_*
# NOTE(jd): the -e argument is on its own line so it's passed as an argument to pip
deps = .[test,openstack]
-e
git+https://github.com/gnocchixyz/gnocchi.git#egg=gnocchi[postgresql,file]
pifpaf[gnocchi]
commands = pifpaf run gnocchi -- python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
deps = hacking<0.13,>=0.12
doc8>=0.8.0
commands = flake8
doc8 --ignore-path doc/source/gnocchi.rst --ignore-path-errors doc/source/shell.rst;D000 doc/source
[testenv:venv]
deps = .[test,doc]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs-gnocchi.xyz]
deps = .[test,doc]
commands =
python setup.py build_sphinx
[flake8]
show-source = True
ignore =
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
[travis]
python = 3.6: py36, pep8, docs-gnocchi.xyz