~ubuntu-branches/ubuntu/wily/python-oslo.vmware/wily

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2014-03-05 15:29:17 UTC
  • Revision ID: package-import@ubuntu.com-20140305152917-9n6zp4cktcwyr3ul
Tags: upstream-0.2
ImportĀ upstreamĀ versionĀ 0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[tox]
 
2
envlist = py26,py27,py33,pep8
 
3
 
 
4
[testenv]
 
5
setenv = VIRTUAL_ENV={envdir}
 
6
deps = -r{toxinidir}/requirements.txt
 
7
       -r{toxinidir}/test-requirements.txt
 
8
commands = python setup.py testr --slowest --testr-args='{posargs}'
 
9
 
 
10
[testenv:pep8]
 
11
commands = flake8
 
12
 
 
13
[testenv:cover]
 
14
setenv = VIRTUAL_ENV={envdir}
 
15
commands =
 
16
  python setup.py testr --coverage
 
17
 
 
18
[testenv:venv]
 
19
commands = {posargs}
 
20
 
 
21
[flake8]
 
22
show-source = True
 
23
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__init__.py
 
24
builtins = _
 
25
 
 
26
[hacking]
 
27
import_exceptions = oslo.vmware.openstack.common.gettextutils._
 
 
b'\\ No newline at end of file'