forked from aws-cloudformation/cfn-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (51 loc) · 970 Bytes
/
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
[tox]
envlist = py{27,34,35,36,37},pylint{37,36,27}
[testenv]
commands =
pip install -e .
coverage run -m unittest discover -s test
skip_install = True
deps =
mock
coverage
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: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 --load-plugins pylint_quotes src/cfnlint