File: tox.ini

package info (click to toggle)
python-infoblox-client 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: python: 9,572; makefile: 213
file content (34 lines) | stat: -rw-r--r-- 804 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
32
33
34
[setup]
results = {toxinidir}/test_results/{envname}

[tox]
envlist = py27, py35, py36, py37, py38, pep8

[testenv]
deps =
    -rrequirements.txt
    -rtesting_requirements.txt
setenv =
passenv = *
allowlist_externals = mkdir
commands =
    mkdir -p {[setup]results}
    nosetests tests \
      --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