~ubuntu-branches/ubuntu/wily/python-oslo.serialization/wily-proposed

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2014-09-05 11:16:12 UTC
  • Revision ID: package-import@ubuntu.com-20140905111612-n6ycnc3dnecjq61v
Tags: upstream-0.1.0
ImportĀ upstreamĀ versionĀ 0.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[tox]
 
2
minversion = 1.6
 
3
envlist = py33,py26,py27,pypy,pep8
 
4
# NOTE(dhellmann): We cannot set skipdist=True
 
5
# for oslo libraries because of the namespace package.
 
6
#skipsdist = True
 
7
 
 
8
[testenv]
 
9
# NOTE(dhellmann): We cannot set usedevelop=True
 
10
# for oslo libraries because of the namespace package.
 
11
#usedevelop = True
 
12
install_command = pip install -U {opts} {packages}
 
13
setenv =
 
14
   VIRTUAL_ENV={envdir}
 
15
deps = -r{toxinidir}/requirements.txt
 
16
       -r{toxinidir}/test-requirements.txt
 
17
commands = python setup.py testr --slowest --testr-args='{posargs}'
 
18
 
 
19
[testenv:pep8]
 
20
commands = flake8
 
21
 
 
22
[testenv:venv]
 
23
commands = {posargs}
 
24
 
 
25
[testenv:docs]
 
26
commands = python setup.py build_sphinx
 
27
 
 
28
[testenv:cover]
 
29
commands = python setup.py testr --coverage --testr-args='{posargs}'
 
30
 
 
31
[flake8]
 
32
# H803 skipped on purpose per list discussion.
 
33
# E123, E125 skipped as they are invalid PEP-8.
 
34
 
 
35
show-source = True
 
36
ignore = E123,E125,H803
 
37
builtins = _
 
38
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build