forked from aliyun/aliyun-oss-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_tox.ini
44 lines (38 loc) · 951 Bytes
/
ft_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
[tox]
envlist =
py26,py27,py33,py34,coverage
[testenv]
passenv =
HOME OSS_TEST_ACCESS_KEY_ID OSS_TEST_ACCESS_KEY_SECRET OSS_TEST_BUCKET OSS_TEST_ENDPOINT
OSS_TEST_STS_ID OSS_TEST_STS_KEY OSS_TEST_STS_ARN OSS_TEST_REGION OSS_TEST_CMK
deps=
mock
nose
coverage
aliyun-python-sdk-sts
aliyun-python-sdk-kms
commands=
nosetests unittests
nosetests tests
[testenv:py27]
passenv = {[testenv]passenv}
deps = {[testenv]deps}
setenv =
COVERAGE_FILE=.coverage.{envname}
commands =
coverage run -m nose unittests
coverage run -a -m nose tests
[testenv:py33]
passenv = {[testenv]passenv}
deps = {[testenv]deps}
setenv =
COVERAGE_FILE=.coverage.{envname}
commands =
coverage run -m nose unittests
coverage run -a -m nose tests
[testenv:coverage]
passenv = {[testenv]passenv}
deps = {[testenv]deps}
commands =
coverage combine
coverage report --omit=*tests/* --show-missing --fail-under=98