forked from infobloxopen/infoblox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (31 loc) · 784 Bytes
/
tox.ini
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
32
33
34
[setup]
results = {toxinidir}/test_results/{envname}
[tox]
envlist = py27, py34, py35, pep8
[testenv]
deps =
-rrequirements.txt
-rtesting_requirements.txt
setenv =
passenv = *
whitelist_externals=mkdir
commands =
mkdir -p {[setup]results}
nosetests \
--with-xunit \
--xunit-file {[setup]results}/nose.xml \
--with-coverage \
--cover-erase \
--cover-tests \
--cover-branches \
--cover-xml \
--cover-xml-file {[setup]results}/coverage.xml \
--cover-html \
--cover-html-dir {[setup]results}/coverage \
--cover-package infoblox_client
flake8 \
--show-source \
--output-file {[setup]results}/flake8.txt \
--exit-zero infoblox_client
[testenv:pep8]
commands = flake8 infoblox_client