Files
deb-python-dcos/cli/tox.win.ini
tamarrow 77afc61fc6 only support python3 for creating binaries (#669)
Also explicitly use python3 in creating virtualenv for make commands.
2016-07-06 18:33:33 -07:00

32 lines
529 B
INI

[tox]
envlist = py34-unit, py34-integration
[testenv]
setenv =
DCOS_CONFIG = {env:DCOS_CONFIG}
deps =
pytest
pytest-cov
mock
pypiwin32
pytz
-e..
[testenv:syntax]
deps =
flake8
isort
..
commands =
flake8 --verbose {env:CI_FLAGS:} dcoscli tests setup.py
isort --recursive --check-only --diff --verbose dcoscli tests setup.py
[testenv:py34-integration]
commands =
py.test -vv {env:CI_FLAGS:} tests/integrations{posargs}
[testenv:py34-unit]
commands =
py.test -vv {env:CI_FLAGS:} tests/unit{posargs}