Files
deb-python-dcos/tox.win.ini
Cody Maloney 3f26840087 improve tox config: TeamCity test output, flake8-import-sort, pep8-naming (#780)
* Subprocess().Popen() -> Subprocess().popen() per PEP-8 conventions
* Move cosmos_error out of class because it isn't a member function per PEP-8
* Add pep8-naming plugin to flake8 so PEP-8 errors are caught during syntax checks
2016-10-05 11:58:02 -07:00

29 lines
409 B
INI

[tox]
envlist = py34-unit
[testenv]
setenv =
DCOS_CONFIG = {env:DCOS_CONFIG}
passenv =
TEAMCITY_VERSION
deps =
pytest
pytest-cov
pypiwin32
teamcity-messages
[testenv:syntax]
deps =
flake8
flake8-import-order
pep8-naming
commands =
flake8 --verbose {env:CI_FLAGS:} dcos tests setup.py
[testenv:py34-unit]
commands =
py.test -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests