forked from common-workflow-language/cwltool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
78 lines (69 loc) · 1.81 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
[tox]
envlist =
py{27,34,35,36,37}-lint,
py{27,34,35,36,37}-unit,
py{34,35,36,36,37}-mypy{2,3},
py27-pipconflictchecker,
py27-lint-readme,
py27-pydocstyle
skipsdist = True
skip_missing_interpreters = True
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36
3.7: py37
[testenv]
passenv =
CI
TRAVIS
TRAVIS_*
deps =
-rrequirements.txt
py{27,34,35,36,37}-unit: codecov
py{27,34,35,36,37}-unit: pytest-xdist
py{27,34,35,36,37}-unit: pytest-cov
py{27,34,35,36,37}-unit: -rtest-requirements.txt
py{27,34,35,36,37}-unit: galaxy-lib
py{27,34,35,36,37}-lint: flake8
py{34,35,36,36,37}-mypy{2,3}: mypy==0.620
setenv =
py{27,34,35,36,37}-unit: LC_ALL = C
commands =
py{27,34,35,36,37}-unit: python -m pip install -U pip setuptools wheel
py{27,34,35,36,37}-unit: python -m pip install -e .[deps]
py{27,34,35,36,37}-unit: python -m pip install -rtest-requirements.txt
py{27,34,35,36,37}-unit: coverage run --parallel-mode -m pytest --strict {posargs}
py{27,34,35,36,37}-unit: coverage combine
py{27,34,35,36,37}-unit: coverage report
py{27,34,35,36,37}-unit: coverage xml
py{27,34,35,36,37}-unit: codecov --file coverage.xml
py{27,34,35,36,37}-lint: flake8 schema_salad setup.py
py{34,35,36,36,37}-mypy2: make mypy2
py{34,35,36,36,37}-mypy3: make mypy3
whitelist_externals =
py{27,34,35,36,37}-lint: flake8
py{34,35,36,36,37}-mypy{2,3}: make
[testenv:py27-pipconflictchecker]
commands = pipconflictchecker
whitelist_externals = pipconflictchecker
deps =
pip-conflict-checker
pip==9.0.3
[testenv:py27-lint-readme]
commands =
python setup.py sdist
python setup.py bdist_wheel
twine check dist/*
deps =
twine
wheel
readme_renderer[md]
[testenv:py27-pydocstyle]
whitelist_externals = make
commands = make diff_pydocstyle_report
deps =
pydocstyle
diff-cover