Files
deb-python-dcos/tox.ini
José Armando García Sancio 686826b020 dcos-635 refactor package for subcommand
Refactor the packaging so that subcommands can depend on the common
functionality without getting the executable artifacts.
2015-03-20 16:51:30 -07:00

25 lines
392 B
INI

[tox]
envlist = py{27,34}-unit, syntax
[testenv]
deps =
pytest
pytest-cov
[testenv:syntax]
deps =
flake8
isort
commands =
flake8 --verbose dcos tests
isort --recursive --check-only --diff --verbose dcos tests
[testenv:py27-unit]
commands =
py.test -vv --cov {envsitepackagesdir}/dcos tests
[testenv:py34-unit]
commands =
py.test -vv --cov {envsitepackagesdir}/dcos tests