~gandelman-a/ubuntu/precise/nova/UCA_2012.2.1

« back to all changes in this revision

Viewing changes to .pc/0001-Update-tools-hacking-for-pep8-1.2-and-beyond.patch/tox.ini

  • Committer: Package Import Robot
  • Author(s): Adam Gandelman, Adam Gandelman, Chuck Short
  • Date: 2012-08-27 15:37:18 UTC
  • mfrom: (1.1.60)
  • Revision ID: package-import@ubuntu.com-20120827153718-lj8er44eqqz1gsrj
Tags: 2012.2~rc1~20120827.15815-0ubuntu1
[ Adam Gandelman ]
* New upstream release.

[ Chuck Short ]
* debian/patches/0001-Update-tools-hacking-for-pep8-1.2-and-
  beyond.patch: Dropped we dont run pep8 tests anymore.
* debian/control: Drop pep8 build depends
* debian/*.upstart.in: Make sure we transition correctly from runlevel
  1 to 2. (LP: #820694)

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
 
         NOSE_OPENSTACK_STDOUT=1
12
 
deps = -r{toxinidir}/tools/pip-requires
13
 
       -r{toxinidir}/tools/test-requires
14
 
commands = nosetests {posargs}
15
 
 
16
 
[tox:jenkins]
17
 
downloadcache = ~/cache/pip
18
 
 
19
 
[testenv:pep8]
20
 
deps=pep8==1.0.1
21
 
commands =
22
 
  python tools/hacking.py --ignore=N4 --repeat --show-source \
23
 
    --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg .
24
 
 
25
 
[testenv:cover]
26
 
setenv = NOSE_WITH_COVERAGE=1
27
 
 
28
 
[testenv:venv]
29
 
commands = {posargs}
30
 
 
31
 
[testenv:full]
32
 
sitepackages = True
33
 
deps = -r{toxinidir}/tools/pip-requires
34
 
       -r{toxinidir}/tools/test-requires
35
 
       -r{toxinidir}/tools/test-options