forked from tarekziade/molotov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (43 loc) · 1.2 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
[tox]
downloadcache = {toxworkdir}/cache/
envlist = py36,py35,flake8,docs,pypy3,aiohttp2
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = -rtox-requirements.txt
-rrequirements.txt
commands =
pytest --random-order-bucket=global -sv --cov-report= --cov-config .coveragerc --cov molotov molotov/tests
coverage combine
coverage report -m
- coveralls
[testenv:py35]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = -rtox-requirements.txt
-rrequirements.txt
commands =
pytest --random-order-bucket=global -sv molotov/tests
[testenv:aiohttp2]
basepython = python3.5
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = -rtox-requirements.txt
-r351-requirements.txt
commands =
pytest --random-order-bucket=global -sv molotov/tests
[testenv:pypy3]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = -rtox-pypy-requirements.txt
-rrequirements.txt
commands =
pytest --random-order-bucket=global -sv molotov/tests
[testenv:flake8]
commands = flake8 molotov
deps =
flake8
[testenv:docs]
basepython=python3.5
deps =
-rrequirements.txt
sphinx
-rdocs-requirements.txt
commands=
sphinx-build -W -b html docs/source docs/build