-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
49 lines (43 loc) · 1.01 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
[tox]
envlist = django17,django18,flake8,sphinx,readme
[testenv]
deps =
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
flake8: flake8
sphinx: Sphinx
wheel
coverage
nose
rednose
mock
commands =
pip install --use-wheel -e ./
pip install --use-wheel -e demo/
django-aggtrigg-demo test django_aggtrigg_demo
django-aggtrigg-demo test django_aggtrigg
coverage erase
pip freeze -l
basepython = python2.7
[testenv:flake8]
commands = flake8 django_aggtrigg
[testenv:sphinx]
commands =
pip install --use-wheel -e ./
pip install --use-wheel -e demo/
make --directory=docs SPHINXOPTS='-W' clean html linkcheck
whitelist_externals =
make
[testenv:readme]
deps =
docutils
pygments
commands =
mkdir -p var/docs
rst2html.py --exit-status=2 README.rst var/docs/README.html
rst2html.py --exit-status=2 CONTRIBUTING.rst var/docs/CONTRIBUTING.html
whitelist_externals =
mkdir
[testenv:release]
deps = zest.releaser
commands = fullrelease