File: tox.ini

package info (click to toggle)
python-quantumclient 2012.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 336 kB
  • sloc: python: 3,130; sh: 17; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tox]
envlist = py26,py27,pep8

[testenv]
deps = -r{toxinidir}/tools/pip-requires
commands = nosetests

[testenv:pep8]
commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source quantum setup.py version.py

[testenv:cover]
commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=quantum

[testenv:hudson]
downloadcache = ~/cache/pip

[testenv:jenkins26]
basepython = python2.6
deps = file://{toxinidir}/.cache.bundle

[testenv:jenkins27]
basepython = python2.7
deps = file://{toxinidir}/.cache.bundle

[testenv:jenkinspep8]
deps = file://{toxinidir}/.cache.bundle
commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source quantum setup.py version.py

[testenv:jenkinscover]
deps = file://{toxinidir}/.cache.bundle
commands = nosetests --cover-erase --cover-package=quantum --with-xcoverage