/
tox.ini
71 lines (63 loc) · 1.64 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
64
65
66
67
68
69
70
71
# TODO: implement doc linting
[tox]
envlist = py{27,34}-lint, py{27,34,35}-quick, py27-lint-imports, py27-lint-docstrings, py27-lint-readme, py27-lint-docs, py{27,34,35}, py{27,34,35}-gx-{master,dev,1801,1709,1705}, py27-gxwf-test-test
source_dir = planemo
test_dir = tests
[testenv]
commands = nosetests
passenv =
PLANEMO_*
NOSE_*
deps =
-rrequirements.txt
nose
coverage
flask
setenv =
quick: PLANEMO_SKIP_SLOW_TESTS=1
quick: PLANEMO_SKIP_GALAXY_TESTS=1
gx: NOSE_ATTR=tests_galaxy_branch
master: PLANEMO_TEST_GALAXY_BRANCH=master
dev: PLANEMO_TEST_GALAXY_BRANCH=dev
1801: PLANEMO_TEST_GALAXY_BRANCH=release_18.01
1709: PLANEMO_TEST_GALAXY_BRANCH=release_17.09
1705: PLANEMO_TEST_GALAXY_BRANCH=release_17.05
[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
[testenv:py27-gxwf-test-test]
commands = make gxwf-test-test
skip_install = True
whitelist_externals = make