9f6bf3426e
Update snap for Train versions of the OpenStack Client and dependencies. Use core18 as the base for the snap. Drop misc commands that are no longer provided. Use python3 as the interpreter for snapcraft builds. Switch to microstack style LXD build with switch to core18 base. Change-Id: I2e3dc49c2ddb6889a3bf3738002d03cbc87fa644
19 lines
334 B
INI
19 lines
334 B
INI
[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
|