File: tox.ini

package info (click to toggle)
dfvfs 20190128-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 105,256 kB
  • sloc: python: 25,003; sh: 369; makefile: 30; vhdl: 25
file content (32 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (2)
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
[tox]
envlist = py2, py3

[testenv]
pip_pre = True
setenv =
    PYTHONPATH = {toxinidir}
deps =
    funcsigs ; python_version < '3.0'
    mock
    pbr
    six
    pytest
    -rrequirements.txt
commands =
    ./run_tests.py

[testenv:py27]
pip_pre = True
setenv =
    PYTHONPATH = {toxinidir}
deps =
    coverage
    funcsigs ; python_version < '3.0'
    mock
    pbr
    six
    pytest
    -rrequirements.txt
commands =
    coverage erase
    coverage run --source=dfvfs --omit="*_test*,*__init__*,*test_lib*" run_tests.py