Home | History | Annotate | Download | only in mox3
      1 [tox]
      2 envlist = py34,py27,pep8
      3 
      4 [testenv]
      5 setenv = VIRTUAL_ENV={envdir}
      6 deps = -r{toxinidir}/requirements.txt
      7        -r{toxinidir}/test-requirements.txt
      8 commands =
      9   python setup.py testr --slowest --testr-args='{posargs}'
     10 
     11 [testenv:docs]
     12 commands = python setup.py build_sphinx
     13 
     14 [testenv:pep8]
     15 commands = flake8
     16 
     17 [testenv:venv]
     18 commands = {posargs}
     19 
     20 [testenv:cover]
     21 setenv = VIRTUAL_ENV={envdir}
     22 commands =
     23   python setup.py testr --coverage
     24 
     25 [flake8]
     26 show-source = true
     27 builtins = _
     28 exclude=.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg
     29