-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
51 lines (45 loc) · 866 Bytes
/
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
[tox]
envlist =
pep8,
coverage-erase,
py27{,-ujson},
py35{,-ujson},
coverage-report,
doc,
[testenv:coverage-erase]
deps =
coverage==3.7.1
commands =
coverage erase
[testenv:coverage-report]
deps =
coverage==3.7.1
commands =
coverage combine
coverage report --fail-under=100 -m
coverage html
[testenv:pep8]
deps =
flake8==2.5.0
pep8-naming==0.3.3
commands =
flake8 redis_lua tests
[testenv:doc]
deps =
babel==1.3
Sphinx==1.3.1
sphinx_rtd_theme==0.1.8
commands =
sphinx-build -b doctest -W doc/source doc/build/html
sphinx-build -b html -W doc/source doc/build/html
[testenv]
deps =
-rdev_requirements.txt
ujson: ujson>=1.35,<2
passenv =
REDIS_HOST
REDIS_PORT
REDIS_DB
REDIS_PASSWORD
commands =
coverage run -a --include="redis_lua/*" setup.py nosetests --with-doctest --doctest-extension=rst --tests tests,integration_tests,redis_lua