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

41 lines
691 B
INI

[tox]
envlist = py35-syntax, py35-unit, py35-integration
[flake8]
application-import-names=dcos,dcoscli
import-order-style=smarkets
[testenv]
deps =
mock
pytest
pytest-cov
pytz
teamcity-messages
-e..
passenv =
DCOS_*
CI_FLAGS
CLI_TEST_SSH_KEY_PATH
CLI_TEST_MASTER_PROXY
TEAMCITY_VERSION
[testenv:py35-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 -p no:cacheprovider -vv -x {env:CI_FLAGS:} tests/integrations{posargs}
[testenv:py35-unit]
commands =
py.test -p no:cacheprovider -vv {env:CI_FLAGS:} tests/unit{posargs}