forked from ghostsquad/swarmci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (40 loc) · 970 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
[tox]
envlist=linting,py35,py36,doctesting
[testenv]
deps=pytest
commands=
pip install -e .[test]
py.test tests
[testenv:linting]
basepython=python3.5
deps=flake8
commands=flake8 swarmci tests
[testenv:doctest]
commands=py.test --doctest-modules swarmci
deps=
[testenv:regen]
changedir=doc/en
basepython=python3.5
deps=sphinx
PyYAML
regendoc>=0.6.1
whitelist_externals=
rm
make
commands=
rm -rf /tmp/doc-exec*
make regen
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH COVERALLS_REPO_TOKEN
usedevelop=True
basepython=python3.5
changedir=.
deps=
{[testenv]deps}
coveralls
commands=
coverage run --source=py.test -m swarmci tests
coverage report -m
coveralls
[flake8]
ignore=E401,E225,E261,E128,E124,E301,E302,E121,E303,W391,E501,E231,E126,E701,E265,E241,E251,E226,E101,W191,E131,E203,E122,E123,E271,E712,E222,E127,E125,E221,W292,E111,E113,E293,E262,W293,E129,E702,E201,E272,E202,E704,E731,E402