forked from repository-preservation/lcmap-client-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
62 lines (53 loc) · 1.01 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
[tox]
envlist =
clean,
check,
lint,
{py27,py34}-lint,
{py27,py34}
[tox:travis]
2.7 = py27-lint, py27
3.4 = py34-lint, py34
[testenv]
basepython =
py27: python2.7
py34: python3.4
{clean,check}: python3.4
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
#deps = -r{toxinidir}/requirements/base.txt
testspath = {toxinidir}/tests
commands = nosetests
sitepackages = True
[testenv:py27-lint]
basepython = python2.7
deps = flake8
commands = flake8 {toxinidir}/src
[testenv:py34-lint]
basepython = python3.4
deps = flake8
commands = flake8 {toxinidir}/src
[testenv:check]
basepython = python3.4
deps =
docutils
check-manifest
flake8
pygments
usedevelop = true
commands =
{envpython} setup.py check --strict --metadata
check-manifest {toxinidir}
flake8 src
[testenv:clean]
commands = make clean
usedevelop = true
[testenv:py27-shell]
commands = python
usedevelop = false
passenv = *
[testenv:py34-shell]
commands = python
usedevelop = false
passenv = *