Files
deb-python-dcos/tox.ini
José Armando García Sancio f956c91c05 Add teamcity integration for the tests
2015-05-06 22:23:40 -07:00

27 lines
498 B
INI

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