-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
56 lines (49 loc) · 1.11 KB
/
tox.ini
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
48
49
50
51
52
53
54
55
56
[tox]
envlist = py{27,33,34,35}-archelond, py{27,33,34,35}-archelonc, docs, coverage
skip_missing_interpreters = True
skipsdist = True
[testenv]
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
changedir =
archelond: {toxinidir}/archelond
archelonc: {toxinidir}/archelonc
passenv = *
whitelist_externals = mv
deps =
archelond: -e{toxinidir}/archelond
archelond: -r{toxinidir}/archelond/test_requirements.txt
archelonc: -e{toxinidir}/archelonc
archelonc: -r{toxinidir}/archelonc/test_requirements.txt
commands =
py.test {posargs}
mv .coverage ../.coverage.{envname}
[testenv:coverage]
basepython = python
deps =
coverage
commands =
coverage combine
[testenv:docs]
basepython = python2.7
changedir = docs
deps =
-r{toxinidir}/doc_requirements.txt
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {toxinidir}/docs/_build
[testenv:diffcover]
whitelist_externals =
rm
diff-cover
coverage
envlist = py27
deps =
diff-cover
coverage
commands =
coverage xml -i
diff-cover coverage.xml
rm coverage.xml