This repository has been archived by the owner on May 28, 2020. It is now read-only.
forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
90 lines (76 loc) · 2.29 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[tox]
envlist = py27-lint, py27-lint-imports, py27-lint-imports-include-list, py27-unit, qunit, mako-count, web-controller-line-count, py33-lint, py34-lint, py35-lint, validate-test-tools, py27-lint-docstring-include-list, py27-lint-docstring
skipsdist = True
[testenv:py27-lint]
commands = bash .ci/flake8_wrapper.sh
whitelist_externals = bash
deps =
flake8
flake8-docstrings==1.0.2
[testenv:py33-lint]
commands = bash .ci/flake8_py3_wrapper.sh
whitelist_externals = bash
deps = flake8
[testenv:py34-lint]
commands = bash .ci/flake8_py3_wrapper.sh
whitelist_externals = bash
deps = flake8
[testenv:py35-lint]
commands = bash .ci/flake8_py3_wrapper.sh
whitelist_externals = bash
deps = flake8
[testenv:py27-unit]
commands = bash run_tests.sh --no-create-venv -u
whitelist_externals = bash
deps =
nose
NoseHTML
mock
# Setup tox environments for linting all of Galaxy for imports and
# just a subset we expect to pass (the include import list). Once the
# include list is reduced to just the inverse of Galaxy's linting
# blacklist these can both just be removed and flake8-import-order can
# be added as a dependency to Galaxy's main linting task.
[testenv:py27-lint-imports]
commands = bash .ci/flake8_wrapper.sh
whitelist_externals = bash
skip_install = True
deps =
flake8
flake8-import-order>=0.9
[testenv:py27-lint-imports-include-list]
commands = bash .ci/flake8_wrapper_imports.sh
whitelist_externals = bash
skip_install = True
deps =
flake8
flake8-import-order>=0.9
[testenv:qunit]
commands = bash run_tests.sh -q
whitelist_externals = bash
[testenv:mako-count]
commands = bash .ci/check_mako.sh
whitelist_externals = bash
[testenv:web-controller-line-count]
commands = bash .ci/check_controller.sh
whitelist_externals = bash
[testenv:first_startup]
commands = bash .ci/first_startup.sh
whitelist_externals = bash
[testenv:validate-test-tools]
commands = bash .ci/validate_test_tools.sh
whitelist_externals = bash
[testenv:py27-lint-docstring]
commands = bash .ci/flake8_wrapper_docstrings.sh --exclude
whitelist_externals = bash
skip_install = True
deps =
flake8
flake8-docstrings==1.0.2
[testenv:py27-lint-docstring-include-list]
commands = bash .ci/flake8_wrapper_docstrings.sh --include
whitelist_externals = bash
skip_install = True
deps =
flake8
flake8-docstrings==1.0.2