~ubuntu-branches/ubuntu/saucy/python-cinderclient/saucy-proposed

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-06-27 13:32:14 UTC
  • Revision ID: package-import@ubuntu.com-20120627133214-n2gx1yxu97efvhg8
Tags: upstream-2012.2~f1~20120621.8
ImportĀ upstreamĀ versionĀ 2012.2~f1~20120621.8

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 cinderclient setup.py
 
18
 
 
19
[testenv:venv]
 
20
commands = {posargs}
 
21
 
 
22
[testenv:cover]
 
23
commands = nosetests --cover-erase --cover-package=cinderclient --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
 
 
32
[testenv:jenkins27]
 
33
basepython = python2.7
 
34
setenv = NOSE_WITH_XUNIT=1
 
35
 
 
36
[testenv:jenkinscover]
 
37
setenv = NOSE_WITH_XUNIT=1
 
38
commands = nosetests --cover-erase --cover-package=cinderclient --with-xcoverage
 
39
 
 
40
[testenv:jenkinsvenv]
 
41
setenv = NOSE_WITH_XUNIT=1
 
42
commands = {posargs}