forked from aio-libs/aiocache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
64 lines (52 loc) · 1.02 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
[tox]
envlist =
py{36,37,38,39}-{deps-lowest,deps-devel}
py{36,37,38,39}-ujson
codecov
syntax
docs-html
[testenv]
usedevelop = true
whitelist_externals =
make
bash
deps =
py{38,39}-deps-lowest: aioredis==1.3.0
py37-deps-lowest: aioredis==1.0.0
py36-deps-lowest: aioredis==0.3.3
deps-lowest: aiomcache==0.5.2
deps-devel: https://github.com/aio-libs/aiomcache/archive/master.tar.gz
deps-devel: https://github.com/aio-libs/aioredis/archive/master.tar.gz
ujson: ujson
.[redis]
.[memcached]
.[msgpack]
.[dev]
commands =
make unit cov-report=false
make acceptance
bash examples/run_all.sh
[testenv:syntax]
deps =
flake8
black
whitelist_externals = make
commands =
make lint
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
skip_install = true
commands =
coverage combine
coverage report
codecov
[testenv:docs-html]
deps =
.[redis]
.[memcached]
.[msgpack]
sphinx
sphinx-rtd-theme
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html