File: tox.ini

package info (click to toggle)
python-jedi 0.10.0~git1%2Bf05c071-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,064 kB
  • ctags: 3,014
  • sloc: python: 16,997; makefile: 149; ansic: 13
file content (47 lines) | stat: -rw-r--r-- 987 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
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
envlist = py26, py27, py33, py34, py35
[testenv]
deps =
    pytest>=2.3.5
    pytest-cache
# docopt for sith doctests
    docopt
# coloroma for colored debug output
    colorama
setenv =
# https://github.com/tomchristie/django-rest-framework/issues/1957
# tox corrupts __pycache__, solution from here:
    PYTHONDONTWRITEBYTECODE=1
commands =
    py.test {posargs:jedi test}
[testenv:py26]
deps =
    unittest2
    {[testenv]deps}
[testenv:py27]
deps =
# for testing the typing module
    typing
    {[testenv]deps}
[testenv:py33]
deps =
    typing
    {[testenv]deps}
[testenv:py34]
deps =
    typing
    {[testenv]deps}
[testenv:py35]
deps =
    {[testenv]deps}
[testenv:cov]
deps =
    coverage
    {[testenv]deps}
commands =
    coverage run --source jedi -m py.test
    coverage report
[testenv:sith]
commands =
    {envpython} -c "import os; a='{envtmpdir}'; os.path.exists(a) or os.makedirs(a)"
    {envpython} sith.py --record {envtmpdir}/record.json random {posargs:jedi}