[tox] envlist = snap skipsdist = True [testenv] basepython = python3 install_command = pip install {opts} {packages} setenv = PATH = /snap/bin:{env:PATH} passenv = HOME TERM whitelist_externals = sudo /snap/bin/snapcraft [testenv:snap] deps = -r{toxinidir}/requirements.txt commands = {toxinidir}/tools/lxd_build.sh