File: tox.ini

package info (click to toggle)
check-manifest 0.37-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 232 kB
  • sloc: python: 1,925; makefile: 24; sh: 5
file content (29 lines) | stat: -rw-r--r-- 625 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
[tox]
envlist =
    py27,py34,py35,py36,pypy,pypy3

[testenv]
passenv = LANG LC_CTYPE LC_ALL MSYSTEM
deps =
    mock
    nose
commands =
    nosetests {posargs}
## if I run check-manifest here, it breaks my 'make release' :(
##   check-manifest

[testenv:coverage]
deps =
    {[testenv]deps}
    coverage
commands =
    coverage run --source=check_manifest -m nose
## since I'm not running check-manifest during regular tests, let's not lie
## about the coverage numbers
##  coverage run --append check_manifest.py
    coverage report -m --fail-under=100

[testenv:py]
commands =
    python --version
    nosetests {posargs}