[tox] envlist = py36 [testenv] passenv = TEST_OPSDB_HOSTNAME TEST_OPSDB_DBNAME TEST_OPSDB_USERNAME TEST_OPSDB_PASSWORD deps = coverage flake8 -r requirements.txt #install_command = pip install --pre --extra-index-url http://pip.geant.net/ --trusted-host pip.geant.net {opts} {packages} commands = coverage erase coverage run --source inventory_provider -m py.test {posargs} coverage xml coverage html coverage report --fail-under 80 flake8