forked from F5Networks/f5-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
48 lines (42 loc) · 1.46 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
[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}
py{27,35}-biq-v{5.1.0}
py{27,35}-iwf-v{2.1.0}
unit
flake
coveralls
skipsdist = true
[testenv]
basepython =
py26: python2.6
py27: python2.7
py35: python3.5
unit: python
flake: 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}
# 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 -k "not /functional/" -vv --cov {posargs:.}
flake: flake8 {posargs:.}
coveralls: coveralls
usedevelop = true
[flake8]
ignore = E402
exclude = docs/conf.py,docs/userguide/code_example.py,docs/conf.py,.tox,.git,__pycache__,build,*.pyc,docs,devtools,scripts
max_line_length = 160