X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=c8cebe8b26c88909fd87baf2b024198f3962d5f6;hb=6cea1a661ea3ba43a546edd7b5451794c523d0db;hp=c859582ecfb443e258154aced7eea4e43b9f30c4;hpb=e3f9edb5064e280056addd6fc47535d3ee1a2435;p=doctor.git diff --git a/tox.ini b/tox.ini index c859582e..c8cebe8b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,30 @@ [tox] minversion = 2.3.1 -envlist = verify +envlist = py34 skipsdist = True [testenv] -install_command = pip install -U {opts} {packages} +usedevelop = True +install_command = pip install \ + -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata \ + {opts} {packages} setenv = VIRTUAL_ENV={envdir} -deps = -r{toxinidir}/test-requirements.txt - -[testenv:verify] +deps = -r{toxinidir}/requirements.txt +passenv = + OS_AUTH_URL + OS_USERNAME + OS_PASSWORD + OS_USER_DOMAIN_NAME + OS_PROJECT_NAME + OS_TENANT_NAME + OS_PROJECT_DOMAIN_NAME + IMAGE_NAME + VM_COUNT + PROFILER_TYPE + PYTHON_ENABLE + CI_DEBUG + INSTALLER_TYPE + INSTALLER_IP + PROFILER_TYPE changedir = {toxinidir}/tests -commands = python main.py +commands = doctor-test