forked from alexa/alexa-skills-kit-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
57 lines (53 loc) · 1.67 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
[tox]
envlist = py{27,36,37}-mylinux,py36-mymacos,py37-mywin
# Comment to build sdist and install into virtualenv
# This is helpful to test installation but takes extra time
skipsdist = True
[flake8]
count = True
show-source = True
statistics = True
select = E901,E999,F821,F822,F823
[testenv]
deps =
flake8
nose
mock
coverage
wheel
py{36,37}: mypy
platform = mylinux: linux
mymacos: darwin
setenv =
AWS_DEFAULT_REGION = us-west-2
commands =
flake8 .
pip install --upgrade pip
pip install --upgrade wheel
{toxinidir}/scripts/ci/sdk_install
{toxinidir}/scripts/ci/run_tests
py{36,37}: mypy --ignore-missing-imports --no-strict-optional ask-sdk/ask_sdk
py{36,37}: mypy --ignore-missing-imports --no-strict-optional ask-sdk-core/ask_sdk_core
py{36,37}: mypy --ignore-missing-imports --no-strict-optional ask-sdk-runtime/ask_sdk_runtime
py{36,37}: mypy --ignore-missing-imports --no-strict-optional ask-sdk-dynamodb-persistence-adapter/ask_sdk_dynamodb
[testenv:py37-mywin]
deps =
flake8
nose
mock
coverage
wheel
mypy
platform = mywin: win32
setenv =
AWS_DEFAULT_REGION = us-west-2
commands =
flake8 .
pip install --upgrade pip
pip install --upgrade wheel
python {toxinidir}\scripts\ci\sdk_install
python {toxinidir}\scripts\ci\run_tests
mypy --ignore-missing-imports --no-strict-optional ask-sdk\ask_sdk
mypy --ignore-missing-imports --no-strict-optional ask-sdk-core\ask_sdk_core
mypy --ignore-missing-imports --no-strict-optional ask-sdk-runtime\ask_sdk_runtime
mypy --ignore-missing-imports --no-strict-optional ask-sdk-dynamodb-persistence-adapter\ask_sdk_dynamodb