~ubuntu-branches/ubuntu/quantal/horizon/quantal

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-07-06 11:38:55 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20120706113855-js8fsldgtool47yj
Tags: 2012.2~f2-0ubuntu1
New usptream version. 

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 = /bin/bash run_tests.sh -N
 
14
 
 
15
[testenv:pep8]
 
16
deps = pep8
 
17
commands = /bin/bash run_tests.sh -N --pep8
 
18
 
 
19
[testenv:venv]
 
20
commands = {posargs}
 
21
 
 
22
[testenv:cover]
 
23
commands = /bin/bash run_tests.sh -N --coverage
 
24
 
 
25
[tox:jenkins]
 
26
downloadcache = ~/cache/pip
 
27
 
 
28
[testenv:jenkins26]
 
29
setenv = NOSE_WITH_XUNIT=1
 
30
basepython = python2.6
 
31
 
 
32
[testenv:jenkins27]
 
33
setenv = NOSE_WITH_XUNIT=1
 
34
basepython = python2.7
 
35
 
 
36
[testenv:jenkinspep8]
 
37
setenv = NOSE_WITH_XUNIT=1
 
38
commands = /bin/bash run_tests.sh -N --pep8
 
39
 
 
40
[testenv:jenkinscover]
 
41
setenv = NOSE_WITH_XUNIT=1
 
42
commands = /bin/bash run_tests.sh -N --coverage
 
43
 
 
44
[testenv:jenkinsvenv]
 
45
setenv = NOSE_WITH_XUNIT=1
 
46
commands = {posargs}