-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (33 loc) · 871 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
[tox]
envlist = py{27}, py{27}-{lint,docs,behave}
[docs-base]
changedir={toxinidir}/docs
deps=sphinx
commands=
sphinx-build -w {envdir}/sphinx-errors-warnings.txt -b html -d {envdir}/doctrees . {envdir}/html
[lint-base]
deps=
pylint
unittest2
commands=pylint -d I,W --rcfile={toxinidir}/.pylintrc ruruki
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
usedevelop = False
setenv=PYTHONHASHSEED=0
deps=nose
coverage
unittest2
coveralls
commands=
nosetests -c {toxinidir}/setup.cfg --cover-html-dir={envdir}/coverage --cover-package=ruruki ruruki
[testenv:py27-docs]
changedir={[docs-base]changedir}
deps={[docs-base]deps}
commands={[docs-base]commands}
[testenv:py27-lint]
deps={[lint-base]deps}
commands={[lint-base]commands}
[testenv:py27-behave]
deps=behave
assertpy
commands=behave {toxinidir}/ruruki/test_behave