forked from ssato/python-anyconfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
33 lines (27 loc) · 947 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
[tox]
#envlist = py27, py34, py35, py36, py37, py37-plugins, py37-min
envlist = py27, py36, py37, py37-plugins, py37-doc, py37-min
skip_missing_interpreters = true
# TODO:
#toxworkdir = /tmp/.tox
[flake8]
exclude = .git,.tox,dist,*egg,setup.py
[testenv]
deps = -r{toxinidir}/pkg/test_requirements.txt
commands =
flake8 --doctests src tests
- pylint --disable=invalid-name,locally-disabled src
python -m nose -v --with-doctest --all-modules --where tests --with-coverage --cover-tests
setenv =
PYTHONPATH = {toxinidir}/src
[testenv:py37-plugins]
deps = -r{toxinidir}/pkg/test_requirements-plugins.txt
[testenv:py37-doc]
deps = -r{toxinidir}/pkg/doc_requirements.txt
commands =
make -C {toxinidir}/docs html
whitelist_externals =
/usr/bin/make
# .. note:: It's not works yet and I have to mark all of test cases fail w/o extra dependencies.
[testenv:py37-min]
deps = -r{toxinidir}/pkg/test_requirements_min.txt