File: tox.ini

package info (click to toggle)
plaso 20190131-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 410,832 kB
  • sloc: python: 76,636; sh: 926; makefile: 167; xml: 70; sql: 14; vhdl: 11
file content (30 lines) | stat: -rw-r--r-- 507 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
[tox]
envlist = py2, py3

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

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