forked from F5Networks/f5-ansible
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
56 lines (50 loc) · 1.8 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
[tox]
envlist =
py{27,35}-bip-v{11.5.4,11.6.0,11.6.1,12.0.0,12.1.0,12.1.1,13.0.0,13.1.0}
py{27,35}-biq-v{5.1.0}
py{27,35}-iwf-v{2.1.0}
unit
style
coveralls
skipsdist = true
[testenv]
basepython =
py26: python2.6
py27: python2.7
py35: python3.5
unit: python
style: python
coveralls: python
passenv = COVERALLS_REPO_TOKEN
deps =
-rrequirements.test.txt
commands =
# BIG-IP tests
py{27,35}-bip-v11.5.4: py.test -s -vv --release 11.5.4 {posargs:f5/bigip}
py{27,35}-bip-v11.6.0: py.test -s -vv --release 11.6.0 {posargs:f5/bigip}
py{27,35}-bip-v11.6.1: py.test -s -vv --release 11.6.1 {posargs:f5/bigip}
py{27,35}-bip-v12.0.0: py.test -s -vv --release 12.0.0 {posargs:f5/bigip}
py{27,35}-bip-v12.1.0: py.test -s -vv --release 12.1.0 {posargs:f5/bigip}
py{27,35}-bip-v12.1.1: py.test -s -vv --release 12.1.1 {posargs:f5/bigip}
py{27,35}-bip-v12.1.2: py.test -s -vv --release 12.1.2 {posargs:f5/bigip}
py{27,35}-bip-v13.0.0: py.test -s -vv --release 13.0.0 {posargs:f5/bigip}
py{27,35}-bip-v13.1.0: py.test -s -vv --release 13.1.0 {posargs:f5/bigip}
# BIG-IQ tests
py{27,35}-biq-v5.1.0: py.test -s -vv --release 5.1.0 {posargs:f5/bigiq}
# iWorkflow tests
py{27,35}-iwf-v2.1.0: py.test -s -vv --release 2.1.0 {posargs:f5/iworkflow}
# Misc tests
unit: py.test -x -k "not /functional/" \
--trace-config \
--debug \
--full-trace \
--ignore local \
-vv \
--cov \
{posargs}
style: pycodestyle {posargs:.}
coveralls: coveralls
[pycodestyle]
exclude = docs/conf.py,docs/userguide/code_example.py,docs/conf.py,.tox,.git,__pycache__,build,*.pyc,docs,devtools,scripts,./library/_*,local
ignore = E305,E402,E722,E741
max-line-length = 160