blob: f2df905148494d38235f8e212cdc5e4e13aaa52b (
plain)
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
|
[tox]
envlist = py27,pep8
skipsdist = true
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv]
deps = -r{toxinidir}/requirements.txt
commands =
/usr/bin/find . -type f -name "*.py[c|o]" -delete
python manage.py test vio
[testenv:pep8]
deps=flake8
commands=flake8
[testenv:py27]
commands =
{[testenv]commands}
[testenv:cover]
setenv=
DJANGO_SETTINGS_MODULE = vio.settings-cover
commands =
coverage erase
{[testenv]commands}
coverage xml -i
|