~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to 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
1
[tox]
2
 
envlist = py26,py27,pep8
 
2
envlist = py26,py27,pep8,pylint
3
3
 
4
4
[testenv]
5
5
setenv = VIRTUAL_ENV={envdir}
9
9
         NOSE_OPENSTACK_YELLOW=0.025
10
10
         NOSE_OPENSTACK_SHOW_ELAPSED=1
11
11
         NOSE_OPENSTACK_STDOUT=1
 
12
         LANG=en_US.UTF-8
 
13
         LANGUAGE=en_US:en
 
14
         LC_ALL=C
 
15
 
12
16
deps = -r{toxinidir}/tools/pip-requires
13
17
       -r{toxinidir}/tools/test-requires
14
18
commands = nosetests {posargs}
17
21
downloadcache = ~/cache/pip
18
22
 
19
23
[testenv:pep8]
20
 
deps = pep8==1.2
 
24
deps=pep8==1.0.1
21
25
commands =
22
 
  python tools/hacking.py --ignore=N4,E12 --repeat --show-source \
 
26
  python tools/hacking.py --ignore=N4 --repeat --show-source \
23
27
    --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg .
24
28
 
 
29
[testenv:pylint]
 
30
setenv = VIRTUAL_ENV={envdir}
 
31
deps = -r{toxinidir}/tools/pip-requires
 
32
       pylint==0.25.2
 
33
commands = bash tools/lintstack.sh
 
34
 
25
35
[testenv:cover]
26
36
setenv = NOSE_WITH_COVERAGE=1
27
37