We are not using the environment variable during the tests. Let's remove all reference to it.
30 lines
545 B
INI
30 lines
545 B
INI
[tox]
|
|
envlist = py{27,34}-unit
|
|
|
|
[testenv]
|
|
setenv =
|
|
DCOS_CONFIG = {env:DCOS_CONFIG}
|
|
deps =
|
|
teamcity-messages
|
|
pytest
|
|
pytest-cov
|
|
pypiwin32
|
|
|
|
[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
|