forked from radiac/django-tagulous
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
65 lines (57 loc) · 1.45 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
57
58
59
60
61
62
63
64
65
[tox]
envlist =
clean
py27-django1.4
py{27,32,33}-django{1.5,1.6}
py{27,32,33,34}-django{1.7,1.8}
py{27,34,35}-django1.9
report
[testenv]
skipsdist=True
usedevelop=True
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
setenv =
PYTHONWARNINGS=default
COVERAGE_FILE=.coverage.tox.{envname}
TOXENV={envname}
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
py35: python3.5
deps =
django1.4: django>=1.4.2, <1.5
django1.4: --no-use-wheel
django1.5: django>=1.5, <1.6
django1.6: django>=1.6, <1.7
django1.7: django>=1.7, <1.8
django1.8: django>=1.8, <1.9
django1.9: https://www.djangoproject.com/download/1.9a1/tarball/
django{1.4,1.5,1.6}: south
pyyaml
unidecode
six
# Have to pin coverage; 4.0 doesn't support Python 3.2
coverage>=3.7.1, <4.0
coveralls>=1.0
install_command = pip install --no-use-wheel {opts} {packages}
commands =
python {envbindir}/coverage run --source='tagulous' setup.py test {posargs:tests}
-coveralls
[testenv:clean]
basepython = python2.7
deps = coverage>=3.7.1, <4.0
setenv =
COVERAGE_FILE=.coverage.tox
commands =
-python {envbindir}/coverage combine
-python {envbindir}/coverage erase
[testenv:report]
basepython = python2.7
deps = coverage>=3.7.1, <4.0
setenv =
COVERAGE_FILE=.coverage.tox
commands =
-python {envbindir}/coverage combine
-python {envbindir}/coverage html