[tox] envlist = py36,py37,py38 platform = linux2?|darwin indexserver = default = https://artifacts.rackspace.net/artifactory/api/pypi/pypi/simple/ [testenv] passenv = TERM TERMINFO SSH_AUTH_SOCK JENKINS_TEST changedir = nscli/tests deps = pytest-xdist whitelist_externals = sudo commands_pre = sudo {envpython} -c "from nspylib.clients.ca_certs import install_rackspace_certs; install_rackspace_certs()" commands = pytest --basetemp="{envtmpdir}" {posargs}