Files
deb-python-dcos/cli/tox.win.ini

37 lines
543 B
INI

[tox]
envlist = py35-unit, py35-integration
[testenv]
setenv =
DCOS_CONFIG = {env:DCOS_CONFIG}
passenv =
TEAMCITY_MESSAGES
deps =
pytest
pytest-cov
mock
pypiwin32
pytz
teamcity-messages
-e..
[testenv:syntax]
deps =
flake8
flake8-import-order==0.9.2
pep8-naming
..
commands =
flake8 --verbose {env:CI_FLAGS:} dcoscli tests setup.py
[testenv:py35-integration]
commands =
py.test -vv {env:CI_FLAGS:} tests/integrations{posargs}
[testenv:py35-unit]
commands =
py.test -vv {env:CI_FLAGS:} tests/unit{posargs}