34 lines
693 B
INI
34 lines
693 B
INI
[tox]
|
|
envlist = py34,pep8,py27
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = /usr/bin/python
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands = find . -type f -name "*.pyc" -delete
|
|
python monasca_test_setup.py
|
|
ostestr --serial {posargs}
|
|
whitelist_externals = bash
|
|
find
|
|
|
|
[testenv:pep8]
|
|
deps = -r{toxinidir}/pep8-test-requirements.txt
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
ignore =
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
|
show-source = True
|
|
|
|
[hacking]
|
|
import_exceptions =
|
|
ceilometer.i18n
|
|
|