forked from wolph/mt940
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (30 loc) · 768 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
[tox]
envlist = py27, pypy, flake8, py34, py35, py36, docs
skip_missing_interpreters = True
[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
pypy: pypy
deps = -r{toxinidir}/mt940_tests/requirements.txt
# commands = python setup.py pytest {posargs}
commands = py.test {posargs}
[testenv:flake8]
basepython = python2.7
commands = flake8 --ignore=W391 mt940 mt940_tests {posargs}
deps = flake8
[testenv:docs]
basepython = python2.7
whitelist_externals =
rm
cd
mkdir
commands =
rm -f docs/project_name.rst
rm -f docs/modules.rst
mkdir -p docs/_static
sphinx-apidoc -o docs/ mt940
sphinx-build -W -b html -d docs/doctrees docs docs/html {posargs}
deps = -r{toxinidir}/docs/requirements.txt