Files
deb-python-dcos/cli/tox.win.ini
José Armando García Sancio 8712136b7e Remove EXHIBITOR_URL environment variable
We are not using the environment variable during the tests. Let's remove
all reference to it.
2016-01-10 16:16:41 -08:00

42 lines
758 B
INI

[tox]
envlist = py{27,34}-unit, py{27,34}-integration
[testenv]
setenv =
DCOS_CONFIG = {env:DCOS_CONFIG}
deps =
teamcity-messages
pytest
pytest-cov
mock
pypiwin32
pytz
-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}
[testenv:py27-unit]
commands =
py.test -vv {env:CI_FLAGS:} tests/unit{posargs}
[testenv:py34-unit]
commands =
py.test -vv {env:CI_FLAGS:} tests/unit{posargs}