forked from box/flaky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (44 loc) · 1.43 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]
envlist =
py26,
py27,
py33,
py34,
py35,
pypy,
pep8,
pylint,
readme,
coverage
[testenv]
deps = -rrequirements-dev.txt
usedevelop = True
commands =
nosetests --with-flaky --exclude="test_nose_options_example" test/test_nose/
py.test -k 'example and not options' --doctest-modules test/test_pytest/
py.test -k 'example and not options' -n 1 test/test_pytest/
py.test -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
nosetests --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py
py.test --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py
[testenv:pep8]
commands =
pep8 --ignore=E501 flaky
pep8 --ignore=E501 test
[testenv:pylint]
commands =
pylint --rcfile=.pylintrc flaky
pylint --rcfile=.pylintrc test -d C0330,W0621,C0411
[testenv:coverage]
commands =
python setup.py develop
nosetests --with-flaky --with-coverage --cover-package=flaky --exclude="test_nose_options_example" --no-flaky-report --cover-erase test/test_nose/
py.test -k 'example and not options' --doctest-modules --no-flaky-report --cov flaky --cov-report term-missing test/test_pytest/
py.test -p no:flaky --cov flaky --cov-report term-missing test/test_pytest/test_flaky_pytest_plugin.py
[testenv:readme]
deps =
docutils
pygments
commands = rst2html.py --strict README.rst
[pep8]
show-pep8 = True
show-source = True