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
|
[tox]
passenv = TRAVIS
usedevelop=True
envlist={test,itest}-{py27,py33},pep8
[testenv]
passenv = TRAVIS MARATHONVERSION DOCKER_HOST DOCKER_TLS_VERIFY DOCKER_CERT_PATH DOCKER_MACHINE_NAME
basepython =
py27: python2.7
py33: python3
whitelist_externals=/bin/bash
skipsdist=True
changedir =
test: {toxinidir}
itest: {toxinidir}/itests/
deps =
-rrequirements.txt
requests-mock==1.0.0
docker-compose
behave
pytest
mock
commands =
test: py.test -s -vv {posargs:tests}
itest: ./itest.sh {posargs}
[testenv:pep8]
basepython = python2.7
deps = flake8
commands = flake8 .
[flake8]
exclude = .tox,*.egg,docs,build,__init__.py
max-line-length = 160
|