forked from galaxyproject/planemo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
59 lines (52 loc) · 1.23 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
# TODO: py34 to envlist
# TODO: implement doc linting
[tox]
envlist = py{27,34}-lint, py{27,34}-quick, py27-lint-imports, py27-lint-docstrings, py27-lint-readme, py27-lint-docs, py{27,34,35}
source_dir = planemo
test_dir = tests
[testenv]
commands = {envpython} setup.py nosetests []
passenv = PLANEMO_*
deps =
-rrequirements.txt
nose
coverage
flask
setenv =
quick: PLANEMO_SKIP_SLOW_TESTS=1
quick: PLANEMO_SKIP_GALAXY_TESTS=1
[testenv:py27-lint]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
skip_install = True
deps =
flake8
flake8-import-order
[testenv:py27-lint-imports]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
skip_install = True
deps =
flake8
flake8-import-order
[testenv:py27-lint-docstrings]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
skip_install = True
deps =
flake8
flake8_docstrings
[testenv:py34-lint]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
skip_install = True
deps = flake8
[testenv:py27-lint-readme]
commands = make lint-readme
skip_install = True
whitelist_externals = make
deps =
readme
[testenv:py27-lint-docs]
commands = make lint-docs
skip_install = True
whitelist_externals = make
deps =
-rrequirements.txt
-rdev-requirements.txt