1

python setup.py sdist在 Jenkins shell上运行我的

Tox正在运行并安装所有依赖项,但在获取py.test命令时如果说():

py27 runtests: commands[0] | py.test --junit-xml=C:\my_folder\unit_test_results.xml
failed to create process.

我的ini文件如下所示:

[tox]
envlist = py27, docs

[testenv]
deps=pytest
commands=py.test --junit-xml={toxinidir}\unit_test_results.xml

[testenv:docs]
basepython=python
changedir=docs\source
deps=
    sphinx
    sphinx_epytext
commands=sphinx-build -W -b html -d {envtmpdir}\doctrees . {envtmpdir}\html

知道为什么它无法创建流程吗?

4

0 回答 0