~ubuntu-branches/ubuntu/raring/python-glanceclient/raring-proposed

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-05-29 08:34:09 UTC
  • Revision ID: package-import@ubuntu.com-20120529083409-42y5dlpvwd94521t
Tags: upstream-2012.2~f1
ImportĀ upstreamĀ versionĀ 2012.2~f1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[tox]
 
2
envlist = py26,py27,pep8
 
3
 
 
4
[testenv]
 
5
setenv = VIRTUAL_ENV={envdir}
 
6
         NOSE_WITH_OPENSTACK=1
 
7
         NOSE_OPENSTACK_COLOR=1
 
8
         NOSE_OPENSTACK_RED=0.05
 
9
         NOSE_OPENSTACK_YELLOW=0.025
 
10
         NOSE_OPENSTACK_SHOW_ELAPSED=1
 
11
deps = -r{toxinidir}/tools/pip-requires
 
12
       -r{toxinidir}/tools/test-requires
 
13
commands = nosetests
 
14
 
 
15
[testenv:pep8]
 
16
deps = pep8
 
17
commands = pep8 --repeat --show-source glanceclient setup.py
 
18
 
 
19
[testenv:venv]
 
20
commands = {posargs}
 
21
 
 
22
[testenv:cover]
 
23
commands = nosetests --cover-erase --cover-package=glanceclient --with-xcoverage
 
24
 
 
25
[tox:jenkins]
 
26
downloadcache = ~/cache/pip
 
27
 
 
28
[testenv:jenkins26]
 
29
basepython = python2.6
 
30
setenv = NOSE_WITH_XUNIT=1
 
31
deps = file://{toxinidir}/.cache.bundle
 
32
 
 
33
[testenv:jenkins27]
 
34
basepython = python2.7
 
35
setenv = NOSE_WITH_XUNIT=1
 
36
deps = file://{toxinidir}/.cache.bundle
 
37
 
 
38
[testenv:jenkinscover]
 
39
deps = file://{toxinidir}/.cache.bundle
 
40
setenv = NOSE_WITH_XUNIT=1
 
41
commands = nosetests --cover-erase --cover-package=glanceclient --with-xcoverage
 
42
 
 
43
[testenv:jenkinsvenv]
 
44
deps = file://{toxinidir}/.cache.bundle
 
45
setenv = NOSE_WITH_XUNIT=1
 
46
commands = {posargs}