forked from aws-cloudformation/cfn-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
66 lines (60 loc) · 1.14 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
[tox]
envlist = py{27,34,35,36,37,38},pylint{27,36,37,38}
[testenv]
commands =
pip install -e .
coverage run -m unittest discover -s test
skip_install = True
deps =
mock
coverage
pydot
setenv =
LANG=en_US.UTF-8
AWS_DEFAULT_REGION=us-east-1
COVERAGE_FILE = {env:COVERAGE_FILE:.coverage.{envname}}
[testenv:codecov]
deps =
coverage
codecov
skip_install = True
passenv = CI TRAVIS TRAVIS_*
setenv =
COVERAGE_FILE=.coverage
commands =
coverage erase
coverage combine
coverage report
codecov
[testenv:pylint38]
basepython = python3.8
deps =
pylint_quotes
pylint
commands =
pip install -e .
pylint --load-plugins pylint_quotes src/cfnlint
[testenv:pylint37]
basepython = python3.7
deps =
pylint_quotes
pylint
commands =
pip install -e .
pylint --load-plugins pylint_quotes src/cfnlint
[testenv:pylint36]
basepython = python3.6
deps =
pylint_quotes
pylint
commands =
pip install -e .
pylint --load-plugins pylint_quotes src/cfnlint
[testenv:pylint27]
basepython = python2.7
deps =
pylint_quotes
pylint
commands =
pip install -e .
pylint --ignored-modules=cfnlint --load-plugins pylint_quotes src/cfnlint