Files
deb-python-dcos/tox.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

22 lines
431 B
INI

[tox]
envlist = py34-syntax, py34-unit
[testenv]
deps =
pytest
pytest-cov
passenv = DCOS_* CI_FLAGS CLI_TEST_SSH_KEY_PATH
[testenv:py34-syntax]
deps =
flake8
isort
commands =
flake8 --verbose {env:CI_FLAGS:} dcos tests setup.py
isort --recursive --check-only --diff --verbose dcos tests setup.py
[testenv:py34-unit]
commands =
py.test -p no:cacheprovider -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests