forked from jdiegodcp/ramlfications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (56 loc) · 1.26 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
51
52
53
54
55
56
57
58
59
60
61
62
63
[tox]
envlist = py26, py27, py33, py34, py35, pypy, flake8, manifest, docs
[testenv]
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps = -rtox-requirements.txt
commands =
python setup.py test -a "-v --cov ramlfications --cov-report xml"
[testenv:py26]
basepython = python2.6
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps = -rtox-requirements.txt
argparse
commands =
python setup.py test -a "-v --cov ramlfications --cov-report xml"
; experiment to see if pypy tests run faster on Travis without coverage
[testenv:pypy]
basepython = pypy
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps = -rtox-requirements.txt
commands =
python setup.py test
[testenv:flake8]
basepython = python2.7
deps =
flake8
commands =
flake8 ramlfications tests --exclude=docs/ --ignore=E221,F405
# pep8 / flake8: Exclude the documentation files,
# and ignore E221 (multiple spaces before operator)
[pep8]
exclude = docs/
ignore = E221
[flake8]
exclude = docs/
ignore = E221
[testenv:manifest]
basepython = python2.7
deps =
check-manifest
commands =
check-manifest
[testenv:docs]
basepython = python2.7
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build