forked from openstack-archive/gnocchi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (37 loc) · 1004 Bytes
/
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
44
45
[tox]
envlist = py27-postgresql,py27,py33,pypy,pep8
[testenv]
usedevelop = True
sitepackages = False
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}
commands = {toxinidir}/run-tests.sh {posargs}
[testenv:pep8]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
hacking<0.9
commands = flake8
# FIXME(jd) Remove that when
# https://github.com/smontanaro/pylockfile/issues/11
# is fixed
[testenv:py33]
commands = true
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements-py3.txt
[testenv:py27-postgresql]
baseversion = 2.7
commands = {toxinidir}/run-postgresql-tests.sh {posargs}
[testenv:py27-mysql]
baseversion = 2.7
commands = {toxinidir}/run-mysql-tests.sh {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
ignore = None
exclude = .tox,doc
show-source = true
[hacking]
import_exceptions =
gnocchi.openstack.common.gettextutils
six.moves.mox