forked from aurzenligl/pytest-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (44 loc) · 928 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
[tox]
envlist =
check,
{py27,py34,py35,pypy}-pytest{29,30},
docs
[testenv]
deps =
pytest29: pytest==2.9.*
pytest30: pytest==3.0.*
pytest-xdist
commands =
py.test {posargs} --tb=short -x --strict tests
[testenv:check]
deps =
docutils
flake8
readme-renderer
check-manifest
commands =
check-manifest
python setup.py check --strict --metadata --restructuredtext
flake8 pytest_logger tests setup.py
[testenv:coverage]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH COVERALLS_REPO_TOKEN
usedevelop=True
changedir=.
whitelist_externals =
sh
deps =
pytest
pytest-xdist
coverage
coveralls
commands=
coverage run --source=pytest_logger -m pytest tests
coverage report -m
sh -c 'if [ $COVERALLS_REPO_TOKEN ]; then coveralls; fi'
[testenv:docs]
changedir=docs
deps=
sphinx
sphinx_rtd_theme
commands=
sphinx-build -W -b html . _build/html