diff --git a/tox.ini b/tox.ini index 89b0bf2bbe..e3102cf622 100644 --- a/tox.ini +++ b/tox.ini @@ -35,12 +35,6 @@ commands = [testenv:cover] setenv = VIRTUAL_ENV={envdir} LANGUAGE=en_US -# NOTE(amrith) The setting of the install_command in this location -# is only required because currently infra does not actually -# support constraints files for the cover job, and while -# the environment variable UPPER_CONSTRAINTS_FILE is set, there's -# no file there. It can be removed when infra changes this. -install_command = pip install -U {opts} {packages} commands = coverage erase python setup.py testr --coverage --omit='*test*' --testr-args='{posargs}' @@ -77,32 +71,16 @@ commands = [testenv:api-ref] # This environment is called from CI scripts to test and publish # the API Ref to developer.openstack.org. -# NOTE(sdague): this target does not use constraints because -# upstream infra does not yet support it. Once that's fixed, we can -# drop the install_command. whitelist_externals = bash -install_command = pip install -U --force-reinstall {opts} {packages} commands = bash -c 'rm -rf api-ref/build' sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html [testenv:releasenotes] -# NOTE(amrith) The setting of the install_command in this location -# is only required because currently infra does not actually -# support constraints files for the releasenotes job, and while -# the environment variable UPPER_CONSTRAINTS_FILE is set, there's -# no file there. It can be removed when infra changes this. -install_command = pip install -U {opts} {packages} commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:venv] setenv = PYTHONHASHSEED=0 -# NOTE(amrith) The setting of the install_command in this location -# is only required because currently infra does not actually -# support constraints files for the docs job, and while -# the environment variable UPPER_CONSTRAINTS_FILE is set, there's -# no file there. It can be removed when infra changes this. -install_command = pip install -U {opts} {packages} commands = {posargs} [flake8]