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

30 lines
524 B
INI

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